use getSession() from @lib/auth everywhere (#563)

This commit is contained in:
Alex Johansson authored and GitHub committed 2021-09-03 21:51:21 +01:00
1 parent 1cdb449ecc
commit 2f1ede9bcd
27 files changed
+37 -27

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import type { NextApiRequest, NextApiResponse } from "next";
import { getSession } from "next-auth/client";
import { getSession } from "@lib/auth";
import prisma from "../../../../lib/prisma";
import { symmetricEncrypt } from "@lib/crypto";
import logger from "@lib/logger";
+1 -1
View File
@@ -1,5 +1,5 @@
import type { NextApiRequest, NextApiResponse } from "next";
import { getSession } from "next-auth/client";
import { getSession } from "@lib/auth";
import prisma from "../../../../lib/prisma";
const client_id = process.env.ZOOM_CLIENT_ID;