chore: better Prettier config for easier reviews
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
import { guildExample } from '../../guild'
|
||||
import type { Handler } from '../../../handler'
|
||||
import { channelExample, channelExample2 } from '../../../channels/channel'
|
||||
import { guildExample } from "../../guild"
|
||||
import type { Handler } from "../../../handler"
|
||||
import { channelExample, channelExample2 } from "../../../channels/channel"
|
||||
|
||||
export const getChannelsWithGuildIdHandler: Handler = {
|
||||
method: 'GET',
|
||||
method: "GET",
|
||||
url: `/guilds/${guildExample.id}/channels`,
|
||||
response: {
|
||||
statusCode: 200,
|
||||
body: [channelExample, channelExample2]
|
||||
}
|
||||
body: [channelExample, channelExample2],
|
||||
},
|
||||
}
|
||||
|
@ -1,15 +1,15 @@
|
||||
import { guildExample } from '../../guild'
|
||||
import type { Handler } from '../../../handler'
|
||||
import { channelExample, channelExample2 } from '../../../channels/channel'
|
||||
import { guildExample } from "../../guild"
|
||||
import type { Handler } from "../../../handler"
|
||||
import { channelExample, channelExample2 } from "../../../channels/channel"
|
||||
|
||||
export const postChannelsWithGuildIdHandler: Handler = {
|
||||
method: 'POST',
|
||||
method: "POST",
|
||||
url: `/guilds/${guildExample.id}/channels`,
|
||||
response: {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
...channelExample2,
|
||||
defaultChannelId: channelExample.id
|
||||
}
|
||||
}
|
||||
defaultChannelId: channelExample.id,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user