2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/cypress/fixtures/guilds/[guildId]/channels/post.ts
2022-08-31 21:44:33 +02:00

16 lines
416 B
TypeScript

import { guildExample } from '../../guild'
import type { 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
}
}
}