15 lines
290 B
TypeScript
15 lines
290 B
TypeScript
import { Handler } from '../../handler'
|
|
|
|
import { channelExample } from '../channel'
|
|
|
|
export const getChannelWithChannelIdHandler: Handler = {
|
|
method: 'GET',
|
|
url: `/channels/${channelExample.id}`,
|
|
response: {
|
|
statusCode: 200,
|
|
body: {
|
|
channel: channelExample
|
|
}
|
|
}
|
|
}
|