mirror of
https://github.com/wassname/talk.git
synced 2026-09-09 11:38:08 +08:00
Settings Cache Refactor
This commit is contained in:
@@ -3,7 +3,7 @@ const getOrganizationName = async ctx => {
|
||||
const { loaders: { Settings } } = ctx;
|
||||
|
||||
// Get the settings.
|
||||
const { organizationName = null } = await Settings.load('organizationName');
|
||||
const { organizationName = null } = await Settings.select('organizationName');
|
||||
|
||||
return organizationName;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user