From 4a0349eecc6f80423da32a399c9384bd1950a8cf Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Thu, 17 Feb 2022 12:54:38 -0800 Subject: [PATCH] Include tags in API --- web/pages/api/v0/_types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/pages/api/v0/_types.ts b/web/pages/api/v0/_types.ts index ba24ad62..f63a0980 100644 --- a/web/pages/api/v0/_types.ts +++ b/web/pages/api/v0/_types.ts @@ -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),