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]/members/join.ts

20 lines
526 B
TypeScript

import { guildExample } from "../../guild"
import type { Handler } from "../../../handler"
import { memberExampleComplete } from "../../../members/member"
import { channelExample } from "../../../channels/channel"
export const postMembersWithGuildIdHandler: Handler = {
method: "POST",
url: `/guilds/${guildExample.id}/members/join`,
response: {
statusCode: 201,
body: {
...memberExampleComplete,
guild: {
...guildExample,
defaultChannelId: channelExample.id,
},
},
},
}