From a4699b79ed36d23e9d956f5544be92d1e1f8ef6a Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Mon, 10 Oct 2022 10:48:01 -0600 Subject: [PATCH] If unlisted during creation, fill in creator id --- common/new-contract.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/common/new-contract.ts b/common/new-contract.ts index 9a73e2ea..89afb0c0 100644 --- a/common/new-contract.ts +++ b/common/new-contract.ts @@ -63,6 +63,7 @@ export function getNewContract( tags: [], lowercaseTags: [], visibility, + unlistedById: visibility === 'unlisted' ? creator.id : undefined, isResolved: false, createdTime: Date.now(), closeTime,