hotfix: viewer cannot access Vorgang with correct PIN, temp remove check if logged-in
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit looks good

This commit is contained in:
2025-09-04 12:44:33 +02:00
parent 3d22aab5b3
commit e935adf8df
2 changed files with 0 additions and 6 deletions

View File

@@ -2,9 +2,6 @@ import { getVorgaenge } from '$lib/server/vorgangService';
import { json } from '@sveltejs/kit'; import { json } from '@sveltejs/kit';
export async function GET({ locals }) { export async function GET({ locals }) {
if (!locals.user) {
return json({ error: 'Unauthorized' }, { status: 401 });
}
const vorgaenge = getVorgaenge(); const vorgaenge = getVorgaenge();

View File

@@ -45,9 +45,6 @@ export async function HEAD({ params }) {
} }
export async function GET({ params, locals }) { export async function GET({ params, locals }) {
if (!locals.user) {
return json({ error: 'Unauthorized' }, { status: 401 });
}
try { try {
const vorgangToken = params.vorgang; const vorgangToken = params.vorgang;