Ignore manifold as lp for now
This commit is contained in:
parent
89784bf5eb
commit
789bbced5f
|
@ -13,6 +13,9 @@ export const onCreateLiquidityProvision = functions.firestore
|
||||||
if (!contract)
|
if (!contract)
|
||||||
throw new Error('Could not find contract corresponding with liquidity')
|
throw new Error('Could not find contract corresponding with liquidity')
|
||||||
|
|
||||||
|
// Ignore Manifold Markets liquidity for now - users see a notification for free market liquidity provision
|
||||||
|
if (liquidity.userId === 'IPTOzEqrpkWmEzh6hwvAyY9PqFb2') return
|
||||||
|
|
||||||
const liquidityProvider = await getUser(liquidity.userId)
|
const liquidityProvider = await getUser(liquidity.userId)
|
||||||
if (!liquidityProvider) throw new Error('Could not find liquidity provider')
|
if (!liquidityProvider) throw new Error('Could not find liquidity provider')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user