mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Fix Typo.
This commit is contained in:
parent
5aa8187e42
commit
f5eb974d8d
9 changed files with 104 additions and 17 deletions
|
|
@ -7,7 +7,7 @@ import { WebsiteStats } from 'interface/api/models';
|
|||
import { NextApiRequestQueryBody } from 'interface/api/nextApi';
|
||||
import { NextApiResponse } from 'next';
|
||||
|
||||
export interface WebsiteStatsReqeustQuery {
|
||||
export interface WebsiteStatsRequestQuery {
|
||||
id: string;
|
||||
type: string;
|
||||
start_at: number;
|
||||
|
|
@ -21,7 +21,7 @@ export interface WebsiteStatsReqeustQuery {
|
|||
}
|
||||
|
||||
export default async (
|
||||
req: NextApiRequestQueryBody<WebsiteStatsReqeustQuery>,
|
||||
req: NextApiRequestQueryBody<WebsiteStatsRequestQuery>,
|
||||
res: NextApiResponse<WebsiteStats>,
|
||||
) => {
|
||||
await useCors(req, res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue