Update +page.server.ts
Signed-off-by: DanMihailescu <as42554525@yahoo.ca>
This commit is contained in:
parent
39c96ac88a
commit
a74080b1c1
1 changed files with 0 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
import { prisma } from '$lib/server/prisma';
|
import { prisma } from '$lib/server/prisma';
|
||||||
export async function load(event) {
|
export async function load(event) {
|
||||||
console.log(event.cookies.get('user'));
|
|
||||||
const userId = event.cookies.get('user');
|
const userId = event.cookies.get('user');
|
||||||
if (!userId) {
|
if (!userId) {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue