absolute import

This commit is contained in:
Boa 2022-05-09 13:28:56 -06:00 committed by GitHub
parent 6ee2878dd0
commit 0e27b13ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,11 @@ import { getLoanAmount, getNewMultiBetInfo } from 'common/new-bet'
import { Answer, MAX_ANSWER_LENGTH } from 'common/answer' import { Answer, MAX_ANSWER_LENGTH } from 'common/answer'
import { getContract, getValues } from './utils' import { getContract, getValues } from './utils'
import { sendNewAnswerEmail } from './emails' import { sendNewAnswerEmail } from './emails'
import { Bet } from '../../common/bet' import { Bet } from 'common/bet'
import { import {
getContractBetMetrics, getContractBetMetrics,
hasUserHitManaLimit, hasUserHitManaLimit,
} from '../../common/calculate' } from 'common/calculate'
export const createAnswer = functions.runWith({ minInstances: 1 }).https.onCall( export const createAnswer = functions.runWith({ minInstances: 1 }).https.onCall(
async ( async (