Skip to content
This repository was archived by the owner on Sep 2, 2026. It is now read-only.

Commit 012997d

Browse files
use JSON.stringify()
1 parent 0319b43 commit 012997d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export async function getZip_Uid(data) {
5555
// it can't be used to generate a UUID
5656
const content = await zip.generateAsync({ type: 'base64' })
5757
// we generate an unique id from the current config for pushing to github
58-
const nbUid = uuidv5(`${data.config}`, uuidv5.URL)
58+
const nbUid = uuidv5(JSON.stringify(data.config), uuidv5.URL)
5959
const zipRes = await pushToGitHub(content, `${template}.zip`, nbUid)
6060
return {
6161
zipRes: zipRes,

0 commit comments

Comments
 (0)