16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
|
import { guildExample } from '../../guild'
|
||
|
import { Handler } from '../../../handler'
|
||
|
import { channelExample, channelExample2 } from '../../../channels/channel'
|
||
|
|
||
|
export const postChannelsWithGuildIdHandler: Handler = {
|
||
|
method: 'POST',
|
||
|
url: `/guilds/${guildExample.id}/channels`,
|
||
|
response: {
|
||
|
statusCode: 200,
|
||
|
body: {
|
||
|
...channelExample2,
|
||
|
defaultChannelId: channelExample.id
|
||
|
}
|
||
|
}
|
||
|
}
|