Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

theme: do not send scopes when getting all themes

Abdullah Atta1d7f4036ec39
diff --git a/servers/themes/src/orama.ts b/servers/themes/src/orama.ts
index 67f67e398..fcaa04d3d 100644
--- a/servers/themes/src/orama.ts
+++ b/servers/themes/src/orama.ts
@@ -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;
})