Fix share url update. (#1754)

This commit is contained in:
Brian Cao
2023-01-19 11:15:33 -08:00
committed by GitHub
parent cd400bcef2
commit 5c683f9103

View File

@@ -47,7 +47,7 @@ export default async (req, res) => {
{
name,
domain,
shareId: shareId ? shareId : newShareId,
shareId: shareId && enableShareUrl === undefined ? shareId : newShareId,
userId: +owner || account.id,
},
{ websiteUuid },