chore: better Prettier config for easier reviews
This commit is contained in:
@ -1,18 +1,18 @@
|
||||
import type { Handler } from '../../handler'
|
||||
import { userExample, userSettingsExample } from '../user'
|
||||
import type { Handler } from "../../handler"
|
||||
import { userExample, userSettingsExample } from "../user"
|
||||
|
||||
export const getUsersCurrentHandler: Handler = {
|
||||
method: 'GET',
|
||||
url: '/users/current',
|
||||
method: "GET",
|
||||
url: "/users/current",
|
||||
response: {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
user: {
|
||||
...userExample,
|
||||
settings: userSettingsExample,
|
||||
currentStrategy: 'local',
|
||||
strategies: ['local']
|
||||
}
|
||||
}
|
||||
}
|
||||
currentStrategy: "local",
|
||||
strategies: ["local"],
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user