Fix crashing whenever hitting an API error from client app

This commit is contained in:
Andrew Kingston 2020-10-16 09:37:19 +01:00
parent c818bc9a3f
commit 711fab2269
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ const del = apiCall("DELETE")
const ERROR_MEMBER = "##error"
const error = message => {
const err = { [ERROR_MEMBER]: message }
appStore.update(s => s["##error_message"], message)
// appStore.update(s => s["##error_message"], message)
return err
}