diff --git a/api/resolvers/item.js b/api/resolvers/item.js index b1a53e54..a297191e 100644 --- a/api/resolvers/item.js +++ b/api/resolvers/item.js @@ -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) }