Fix app not visible in app-store (#8202)

pull/8200/head^2
Hariom Balhara 2023-04-11 20:28:57 +05:30 committed by GitHub
parent c2b6070b7e
commit 6f2312d1e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ export const appsRouter = router({
},
create: {
slug: input.slug,
dirName: appMetadata?.dirName || "",
dirName: appMetadata?.dirName || appMetadata?.slug || "",
categories:
(appMetadata?.categories as AppCategories[]) ||
([appMetadata?.category] as AppCategories[]) ||
@ -261,7 +261,7 @@ export const appsRouter = router({
update: { keys },
create: {
slug: input.slug,
dirName: appMetadata?.dirName || "",
dirName: appMetadata?.dirName || appMetadata?.slug || "",
categories:
(appMetadata?.categories as AppCategories[]) ||
([appMetadata?.category] as AppCategories[]) ||