@merkl/api 0.10.194 → 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) {
|
@@ -18,6 +18,7 @@ export class StatusService {
|
|
18
18
|
return await StatusRepository.findUnique(campaignUnique);
|
19
19
|
}
|
20
20
|
static async update(campaignUnique, status) {
|
21
|
+
console.log(campaignUnique, status);
|
21
22
|
// Check if the status exists already, otherwise create it
|
22
23
|
const campaignExists = await StatusRepository.findUnique(campaignUnique);
|
23
24
|
if (!campaignExists) {
|