OIDC & store fixes (#358)
* fix: typos * fix: platform filtering * feat: fix tags and create option
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user