mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 11:47:54 +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) => {
|
||||
return {
|
||||
...(hit.document as CompiledThemeDefinition),
|
||||
scope: undefined,
|
||||
scopes: undefined,
|
||||
codeBlockCSS: undefined
|
||||
} as ThemeMetadata;
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user