feat: refactor the loading of the latest config so there's now two
functions, one for the server and one for the new admin web page
This commit is contained in:
parent
a0f6feeb78
commit
d6b707ff7a
2 changed files with 17 additions and 8 deletions
|
|
@ -258,7 +258,7 @@ const resolvers = {
|
|||
serverLogs.getServerLogs(from, until, limit, offset),
|
||||
transactions: (...[, { from, until, limit, offset }]) =>
|
||||
transactions.batch(from, until, limit, offset),
|
||||
config: () => settingsLoader.loadLatestConfig(),
|
||||
config: () => settingsLoader.loadLatestConfigOrNone(),
|
||||
accounts: () => settingsLoader.loadAccounts()
|
||||
},
|
||||
Mutation: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue