Does this work? Don't `[publicationId, verify]` because return value is undefined when `err` is set?