Fix Website auth.
This commit is contained in:
@@ -3,7 +3,7 @@ import clickhouse from 'lib/clickhouse';
|
||||
import { runQuery, CLICKHOUSE, PRISMA } from 'lib/db';
|
||||
import cache from 'lib/cache';
|
||||
import { Prisma } from '@prisma/client';
|
||||
import { UmamiApi } from 'lib/enum';
|
||||
import { UmamiApi } from 'lib/constants';
|
||||
|
||||
export async function getPageviewMetrics(
|
||||
...args: [
|
||||
|
||||
@@ -2,7 +2,7 @@ import cache from 'lib/cache';
|
||||
import clickhouse from 'lib/clickhouse';
|
||||
import { CLICKHOUSE, PRISMA, runQuery } from 'lib/db';
|
||||
import prisma from 'lib/prisma';
|
||||
import { UmamiApi } from 'lib/enum';
|
||||
import { UmamiApi } from 'lib/constants';
|
||||
|
||||
export async function getPageviewStats(
|
||||
...args: [
|
||||
|
||||
@@ -4,7 +4,7 @@ import kafka from 'lib/kafka';
|
||||
import prisma from 'lib/prisma';
|
||||
import cache from 'lib/cache';
|
||||
import { uuid } from 'lib/crypto';
|
||||
import { UmamiApi } from 'lib/enum';
|
||||
import { UmamiApi } from 'lib/constants';
|
||||
|
||||
export async function savePageView(args: {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user