mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-01 00:06:38 +00:00
Fix small issues for test
This commit is contained in:
@@ -5,7 +5,7 @@ export async function verifySession() {
|
||||
const sessionId = cookies().get("session")?.value ?? null;
|
||||
|
||||
try {
|
||||
const res = await api.get("/user", {
|
||||
await api.get("/user", {
|
||||
headers: {
|
||||
Cookie: `session=${sessionId}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user