18 lines
367 B
TypeScript
18 lines
367 B
TypeScript
import type { Handler } from "../../handler"
|
|
import { userExample, userSettingsExample } from "../user"
|
|
|
|
export const getUserByIdHandler: Handler = {
|
|
method: "GET",
|
|
url: `/users/${userExample.id}`,
|
|
response: {
|
|
statusCode: 200,
|
|
body: {
|
|
user: {
|
|
...userExample,
|
|
settings: userSettingsExample,
|
|
},
|
|
guilds: [],
|
|
},
|
|
},
|
|
}
|