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.
website/cypress/fixtures/users/current/get.ts

19 lines
408 B
TypeScript

import type { Handler } from "../../handler"
import { userExample, userSettingsExample } from "../user"
export const getUsersCurrentHandler: Handler = {
method: "GET",
url: "/users/current",
response: {
statusCode: 200,
body: {
user: {
...userExample,
settings: userSettingsExample,
currentStrategy: "local",
strategies: ["local"],
},
},
},
}