From 36fa9078f5082ed469b21d2ba1b7f3eda8a3cc4c Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sat, 27 Aug 2022 17:18:39 -0500 Subject: [PATCH] Fix absolute import within functions --- functions/src/redeem-shares.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/redeem-shares.ts b/functions/src/redeem-shares.ts index 055aa2dc..08cc16f2 100644 --- a/functions/src/redeem-shares.ts +++ b/functions/src/redeem-shares.ts @@ -5,7 +5,7 @@ import { getRedeemableAmount, getRedemptionBets } from '../../common/redeem' import { Contract } from '../../common/contract' import { User } from '../../common/user' -import { floatingEqual } from 'common/util/math' +import { floatingEqual } from '../../common/util/math' export const redeemShares = async (userId: string, contractId: string) => { return await firestore.runTransaction(async (trans) => {