Spaces:
Runtime error
Runtime error
rewrite function
Browse files
app/api/collections/route.ts
CHANGED
@@ -40,7 +40,7 @@ export async function GET(request: Request) {
|
|
40 |
} else if (is_admin) {
|
41 |
query.where = {
|
42 |
is_visible: {
|
43 |
-
equals:
|
44 |
}
|
45 |
}
|
46 |
}
|
|
|
40 |
} else if (is_admin) {
|
41 |
query.where = {
|
42 |
is_visible: {
|
43 |
+
equals: undefined
|
44 |
}
|
45 |
}
|
46 |
}
|