Swapped to American English spellings

refs 16728a3ef1

- initialised -> initialized
This commit is contained in:
Naz 2021-09-23 18:36:32 +02:00
parent a9ea792d65
commit 035ad01f24
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
* The bridge is responsible for handing communication from the server to the frontend.
* Data should only be flowing server -> frontend.
* As the architecture improves, the number of cross requires here should go down
* Eventually, the aim is to make this a component that is initialised on boot and is either handed to or actively creates the frontend, if the frontend is desired.
* Eventually, the aim is to make this a component that is initialized on boot and is either handed to or actively creates the frontend, if the frontend is desired.
*
* This file is a great place for all the cross-component event handling in lieu of refactoring
*/

View File

@ -39,7 +39,7 @@ class DatabaseStateManager {
await this.knexMigrator.isDatabaseOK();
return state;
} catch (error) {
// CASE: database has not yet been initialised
// CASE: database has not yet been initialized
if (error.code === 'DB_NOT_INITIALISED') {
state = states.NEEDS_INITIALISATION;
return state;