mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43: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>) {
|
indexedDbRequest.onsuccess = function (this: IDBRequest<IDBDatabase>) {
|
||||||
const db = this.result;
|
const db = this.result;
|
||||||
if (!db) {
|
if (!db) {
|
||||||
reject("database loadign result was undefined");
|
reject("database loading result was undefined");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
resolve(db.transaction(["savestring"], "readwrite").objectStore("savestring"));
|
resolve(db.transaction(["savestring"], "readwrite").objectStore("savestring"));
|
||||||
|
Loading…
Reference in New Issue
Block a user