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.

16 lines
381 B
TypeScript
Raw Normal View History

2022-08-31 20:44:33 +01:00
import type { Handler } from '../../handler'
import { channelExample, channelExample2 } from '../channel'
export const putChannelWithChannelIdHandler: Handler = {
method: 'PUT',
url: `/channels/${channelExample.id}`,
response: {
statusCode: 200,
body: {
...channelExample,
name: 'New channel name',
defaultChannelId: channelExample2.id
}
}
}