@merkl/api 0.10.195 → 0.10.196

Sign up to get free protection for your applications and to get access to all the features.
@@ -397,7 +397,7 @@ export async function getClammUserPositions(user, chainId, poolsByAmm, withIndiv
397
397
  }
398
398
  }
399
399
  if (res.userPositions.length > 0) {
400
- finalRes[`2_${poolDatas[p].mainParameter}`] = { ...res };
400
+ finalRes[`2_${poolDatas[p].mainParameter ?? p}`] = { ...res };
401
401
  }
402
402
  }
403
403
  catch (_e) {