mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 01:23:49 +01:00
Fixing spelling mistake
Fixing spelling mistake on indexedDbRequest.onsuccess promise reject
This commit is contained in:
parent
a53b36ed27
commit
034592678e
@ -24,7 +24,7 @@ function getDB(): Promise<IDBObjectStore> {
|
||||
indexedDbRequest.onsuccess = function (this: IDBRequest<IDBDatabase>) {
|
||||
const db = this.result;
|
||||
if (!db) {
|
||||
reject("database loadign result was undefined");
|
||||
reject("database loading result was undefined");
|
||||
return;
|
||||
}
|
||||
resolve(db.transaction(["savestring"], "readwrite").objectStore("savestring"));
|
||||
|
Loading…
Reference in New Issue
Block a user