Treat a bounty market like FR for now
This commit is contained in:
parent
eec4e87da0
commit
2359b5b337
|
@ -234,7 +234,7 @@ export const createmarket = newEndpoint({}, async (req, auth) => {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
await contractRef.update({ answers: answerObjects })
|
await contractRef.update({ answers: answerObjects })
|
||||||
} else if (outcomeType === 'FREE_RESPONSE') {
|
} else if (outcomeType === 'FREE_RESPONSE' || outcomeType === 'BOUNTY') {
|
||||||
const noneAnswerDoc = firestore
|
const noneAnswerDoc = firestore
|
||||||
.collection(`contracts/${contract.id}/answers`)
|
.collection(`contracts/${contract.id}/answers`)
|
||||||
.doc('0')
|
.doc('0')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user