fix guest actions

This commit is contained in:
Emily
2024-06-19 23:38:22 +02:00
parent c1a15c8fc2
commit 149592394d
9 changed files with 27 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ export default defineEventHandler(async event => {
if (!project_id) return;
const user = getRequestUser(event);
const project = await getUserProjectFromId(project_id, user);
const project = await getUserProjectFromId(project_id, user, false);
if (!project) return;
if (!project.customer_id) return [];