mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fix Typo.
This commit is contained in:
parent
5aa8187e42
commit
f5eb974d8d
9 changed files with 104 additions and 17 deletions
|
|
@ -36,7 +36,7 @@ function getColumn(type) {
|
|||
return type;
|
||||
}
|
||||
|
||||
export interface WebsiteMetricsReqeustQuery {
|
||||
export interface WebsiteMetricsRequestQuery {
|
||||
id: string;
|
||||
type: string;
|
||||
start_at: number;
|
||||
|
|
@ -50,7 +50,7 @@ export interface WebsiteMetricsReqeustQuery {
|
|||
}
|
||||
|
||||
export default async (
|
||||
req: NextApiRequestQueryBody<WebsiteMetricsReqeustQuery>,
|
||||
req: NextApiRequestQueryBody<WebsiteMetricsRequestQuery>,
|
||||
res: NextApiResponse<WebsiteMetric[]>,
|
||||
) => {
|
||||
await useCors(req, res);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue