mirror of
https://github.com/mudabbir-ahmad/peworkshop.git
synced 2026-10-07 19:50:20 +00:00
fixed a bit
This commit is contained in:
1 parent
291a17eaf6
commit
f2549cb216
4 files changed
+209
-3
No files matched your search
@@ -6,7 +6,7 @@ export async function GET(request, { params }) {
|
||||
const session = await getServerSession(authOptions);
|
||||
|
||||
if (!session) {
|
||||
return Response.json({ error: 'Unauthorized' }, { status: 401 });
|
||||
return Response.json({ error: 'Unauthorised' }, { status: 401 });
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user