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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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