Fix app not visible in app-store (#8202)
parent
c2b6070b7e
commit
6f2312d1e2
|
@ -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[]) ||
|
||||
|
|
Loading…
Reference in New Issue