mirror of
https://github.com/amark/gun.git
synced 2025-06-12 17:16:44 +00:00
Small fix
This commit is contained in:
parent
5d755af301
commit
04bbfdd2eb
2
sea.js
2
sea.js
@ -690,7 +690,7 @@
|
|||||||
const data = JSON.stringify({
|
const data = JSON.stringify({
|
||||||
c: certificants,
|
c: certificants,
|
||||||
p: patterns,
|
p: patterns,
|
||||||
...(opt?.expiry && typeof opt.expiry === 'number' ? {e: opt.expiry} : {}) // inject expiry if possible
|
...(opt.expiry && typeof opt.expiry === 'number' ? {e: opt.expiry} : {}) // inject expiry if possible
|
||||||
})
|
})
|
||||||
|
|
||||||
const certificate = await SEA.sign(data, issuer, null, {raw:1})
|
const certificate = await SEA.sign(data, issuer, null, {raw:1})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user