fix #2052
This commit is contained in:
parent
73e0b5055e
commit
bcc92e54fd
@ -1449,7 +1449,7 @@ export const updateItem = async (parent, { sub: subName, forward, hash, hmac, ..
|
|||||||
throw new GqlInputError('item can no longer be edited')
|
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 = ensureProtocol(item.url)
|
||||||
item.url = removeTracking(item.url)
|
item.url = removeTracking(item.url)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user