This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
website/cypress/fixtures/guilds/[guildId]/channels/post.ts

16 lines
419 B
TypeScript
Raw Normal View History

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,
},
},
}