theme: do not send scopes when getting all themes

This commit is contained in:
Abdullah Atta
2023-08-07 12:39:36 +05:00
parent a2d5eda538
commit 1d7f4036ec

View File

@@ -151,7 +151,7 @@ export async function getThemes(query: (typeof ThemeQuerySchema)["_type"]) {
.map((hit) => { .map((hit) => {
return { return {
...(hit.document as CompiledThemeDefinition), ...(hit.document as CompiledThemeDefinition),
scope: undefined, scopes: undefined,
codeBlockCSS: undefined codeBlockCSS: undefined
} as ThemeMetadata; } as ThemeMetadata;
}) })