1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

key should be labeled ~Key

This commit is contained in:
Dick Choi
2016-08-28 01:33:05 +09:00
parent 8d624459d4
commit 8921db89ab
2 changed files with 5 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ const sander = require('sander')
* ```
* {
* storage: Object,
* folder: folderKey
* folderKey: String
* }
* ```
*/
@@ -67,7 +67,7 @@ function deleteFolder (storageKey, folderKey) {
return {
storage,
folder: folderKey
folderKey
}
})
}

View File

@@ -22,7 +22,9 @@ function removeStorage (key) {
localStorage.setItem('storages', JSON.stringify(rawStorages))
return Promise.resolve(key)
return Promise.resolve({
storageKey: key
})
}
module.exports = removeStorage