Compare commits

...

2 Commits

Author SHA1 Message Date
gzor f710fbf02e Merge b9b127b14c into 126f2df21b 2026-05-27 01:15:51 +02:00
Micha Grueninger b9b127b14c feat: add 5 more bag colors to avoid duplicating colors 2026-05-25 21:02:59 +02:00
+1 -1
View File
@@ -1,7 +1,7 @@
import { db, canAccessTrip } from '../db/database';
import { avatarUrl } from './authService';
const BAG_COLORS = ['#6366f1', '#ec4899', '#f97316', '#10b981', '#06b6d4', '#8b5cf6', '#ef4444', '#f59e0b'];
const BAG_COLORS = ['#6366f1', '#ec4899', '#f97316', '#10b981', '#06b6d4', '#32049e', '#ef4444', '#f59e0b', '#1106aa', '#99f70e', '#04463e', '#7f0e91', '#64748b' ];
export function verifyTripAccess(tripId: string | number, userId: number) {
return canAccessTrip(tripId, userId);