If unlisted during creation, fill in creator id

This commit is contained in:
Ian Philips 2022-10-10 10:48:01 -06:00
parent 66071e16fa
commit a4699b79ed

View File

@ -63,6 +63,7 @@ export function getNewContract(
tags: [],
lowercaseTags: [],
visibility,
unlistedById: visibility === 'unlisted' ? creator.id : undefined,
isResolved: false,
createdTime: Date.now(),
closeTime,