Skip to content

Commit a30af40

Browse files
committed
fixup! ✨(back) allow theme customnization using a configuration file
1 parent e9985bb commit a30af40

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/backend/core/api/viewsets.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1757,6 +1757,10 @@ def _load_theme_customization(self):
17571757
settings.THEME_CUSTOMIZATION_FILE_PATH,
17581758
)
17591759
else:
1760-
cache.set(cache_key, theme_customization, settings.THEME_CUSTOMIZATION_CACHE_TIMEOUT)
1760+
cache.set(
1761+
cache_key,
1762+
theme_customization,
1763+
settings.THEME_CUSTOMIZATION_CACHE_TIMEOUT,
1764+
)
17611765

17621766
return theme_customization

0 commit comments

Comments
 (0)