Settings Cache Refactor

This commit is contained in:
Wyatt Johnson
2018-05-07 14:27:00 -06:00
parent 7aa31b7cb2
commit 2b1108cd88
27 changed files with 209 additions and 260 deletions
@@ -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;
};