This commit is contained in:
k00b 2025-04-01 15:26:59 -05:00
parent 73e0b5055e
commit bcc92e54fd

View File

@ -1449,7 +1449,7 @@ export const updateItem = async (parent, { sub: subName, forward, hash, hmac, ..
throw new GqlInputError('item can no longer be edited')
}
if (item.url && !isJob(item)) {
if (item.url && !isJob({ subName, ...item })) {
item.url = ensureProtocol(item.url)
item.url = removeTracking(item.url)
}