mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
theme: do not send scopes when getting all themes
This commit is contained in:
@@ -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;
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user