15 lines
358 B
TypeScript
15 lines
358 B
TypeScript
import type { Handler } from "../../handler"
|
|
import { channelExample, channelExample2 } from "../channel"
|
|
|
|
export const deleteChannelWithChannelIdHandler: Handler = {
|
|
method: "DELETE",
|
|
url: `/channels/${channelExample.id}`,
|
|
response: {
|
|
statusCode: 200,
|
|
body: {
|
|
...channelExample,
|
|
defaultChannelId: channelExample2.id,
|
|
},
|
|
},
|
|
}
|