Fix Website auth.
This commit is contained in:
1 parent
1af93a17a3
commit
e28ee6597a
23 files changed
+108
-105
No files matched your search
@@ -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