Fix share url update.

pull/1754/head
Brian Cao 2023-01-19 11:02:47 -08:00
parent cd400bcef2
commit aa1a9d4ff0
1 changed files with 1 additions and 1 deletions

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 },