6 lines
140 B
JavaScript
6 lines
140 B
JavaScript
export function fetchAccount (accountsStore, id, callback) {
|
|
accountsStore.get(id).onsuccess = e => {
|
|
callback(e.target.result)
|
|
}
|
|
}
|