Add id field to markets api endpoint
This commit is contained in:
parent
4150479aa3
commit
d02611a37a
|
@ -25,6 +25,7 @@ export const markets = functions
|
||||||
})
|
})
|
||||||
|
|
||||||
const getContractInfo = ({
|
const getContractInfo = ({
|
||||||
|
id,
|
||||||
creatorUsername,
|
creatorUsername,
|
||||||
creatorName,
|
creatorName,
|
||||||
createdTime,
|
createdTime,
|
||||||
|
@ -40,6 +41,7 @@ const getContractInfo = ({
|
||||||
resolution,
|
resolution,
|
||||||
}: Contract) => {
|
}: Contract) => {
|
||||||
return {
|
return {
|
||||||
|
id,
|
||||||
creatorUsername,
|
creatorUsername,
|
||||||
creatorName,
|
creatorName,
|
||||||
createdTime,
|
createdTime,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user