🐜 fix(zero): Tidy up the schema

This commit is contained in:
Wanjohi
2025-05-11 01:04:45 +03:00
parent 86670d5931
commit 6051e11921

View File

@@ -353,7 +353,7 @@ export const permissions = definePermissions<Auth, Schema>(schema, () => {
]
}
},
//Games are publicly viewable for logged in users
// Games are publicly viewable - but only to logged in users
games: {
row: {
select: [(auth: Auth, q: ExpressionBuilder<Schema, 'games'>) => q.cmpLit(auth.sub, "IS NOT", null),]