OIDC & store fixes (#358)

* fix: typos

* fix: platform filtering

* feat: fix tags and create option
This commit is contained in:
DecDuck
2026-02-26 22:15:19 +00:00
committed by GitHub
parent 768a4e2414
commit 7fa02c57d1
6 changed files with 138 additions and 27 deletions
+23 -13
View File
@@ -53,24 +53,34 @@ export default defineEventHandler(async (h3) => {
: undefined;
const platformFilter = filterPlatforms
? ({
versions: {
some: {
launches: {
OR: [
{
versions: {
some: {
platform: {
in: filterPlatforms,
},
},
},
setups: {
some: {
platform: {
in: filterPlatforms,
setups: {
some: {
platform: {
in: filterPlatforms,
},
},
},
},
},
},
},
{
versions: {
some: {
launches: {
some: {
platform: {
in: filterPlatforms,
},
},
},
},
},
},
],
} satisfies Prisma.GameWhereInput)
: undefined;