Fix share url update. (#1754)

This commit is contained in:
Brian Cao authored and GitHub committed 2023-01-19 11:15:33 -08:00
1 parent cd400bcef2
commit 5c683f9103
1 file changed
+1 -1
+1 -1
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 },