2
2
mirror of https://github.com/Thream/website.git synced 2024-07-21 09:28:32 +02:00
website/cypress/fixtures/guilds/get.ts

15 lines
333 B
TypeScript

import type { Handler } from "../handler"
import { guildExample, guildExample2 } from "./guild"
export const getGuildsHandler: Handler = {
method: "GET",
url: "/guilds",
response: {
statusCode: 200,
body: [
{ ...guildExample, defaultChannelId: 1 },
{ ...guildExample2, defaultChannelId: 2 },
],
},
}