mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Fix Typo.
This commit is contained in:
parent
5aa8187e42
commit
f5eb974d8d
9 changed files with 104 additions and 17 deletions
|
|
@ -5,17 +5,17 @@ import { NextApiResponse } from 'next';
|
|||
import { NextApiRequestQueryBody } from 'interface/api/nextApi';
|
||||
import { User } from 'interface/api/models';
|
||||
|
||||
export interface UserReqeustQuery {
|
||||
export interface UserRequestQuery {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface UserReqeustBody {
|
||||
export interface UserRequestBody {
|
||||
username: string;
|
||||
password: string;
|
||||
}
|
||||
|
||||
export default async (
|
||||
req: NextApiRequestQueryBody<UserReqeustQuery, UserReqeustBody>,
|
||||
req: NextApiRequestQueryBody<UserRequestQuery, UserRequestBody>,
|
||||
res: NextApiResponse<User>,
|
||||
) => {
|
||||
await useAuth(req, res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue