Include tags in API

This commit is contained in:
Austin Chen 2022-02-17 12:54:38 -08:00
parent a41e9f219c
commit 4a0349eecc

View File

@ -11,6 +11,7 @@ export type LiteContract = {
closeTime?: number
question: string
description: string
tags: string[]
url: string
pool: number
probability: number
@ -37,6 +38,7 @@ export function toLiteContract({
closeTime,
question,
description,
tags,
slug,
pool,
totalShares,
@ -53,6 +55,7 @@ export function toLiteContract({
closeTime,
question,
description,
tags,
url: `https://manifold.markets/${creatorUsername}/${slug}`,
pool: pool.YES + pool.NO,
probability: getProbability(totalShares),