mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
correctly scope const pub.id
This commit is contained in:
parent
537f2ed23d
commit
b9e1429dac
2
sea.js
2
sea.js
@ -557,8 +557,8 @@
|
||||
|
||||
if (authsettings.validity && typeof window !== 'undefined'
|
||||
&& Gun.obj.has(p, 'pub') && Gun.obj.has(p, 'key')) {
|
||||
const { pub: id } = p
|
||||
const importAndStoreKey = async () => {
|
||||
const { pub: id } = p
|
||||
const key = importKey(p)
|
||||
await seaCallOnStorage((store) => {
|
||||
store.put({ id, key })
|
||||
|
Loading…
x
Reference in New Issue
Block a user