bug fixed
This commit is contained in:
parent
f104fa095f
commit
3b17d4ddfe
|
@ -103,7 +103,7 @@ export default async function updateLinkById(
|
|||
isValidUrl(data.url)
|
||||
) {
|
||||
await removeFiles(oldLink.id, oldLink.collectionId);
|
||||
} else
|
||||
} else if (oldLink?.url !== data.url)
|
||||
return {
|
||||
response: "Invalid URL.",
|
||||
status: 401,
|
||||
|
|
Ŝarĝante…
Reference in New Issue