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
517 B
TypeScript
Raw Normal View History

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