mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 12:12:54 +01:00
server: reset cache on sync repo
This commit is contained in:
@@ -56,7 +56,7 @@ async function generateMetadataJson() {
|
||||
const files = await readDirAsync(THEMES_PATH);
|
||||
const ThemesMetadata = [];
|
||||
const db = await getDB(true);
|
||||
|
||||
THEME_METADATA_CACHE = [];
|
||||
for (const file of files) {
|
||||
const themeMetadataPath = `${THEMES_PATH}/${file}/theme.json`;
|
||||
const metadata = JSON.parse(
|
||||
|
||||
Reference in New Issue
Block a user