@merkl/api 0.10.142 → 0.10.143
Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,7 @@ export const StatusController = new Elysia({ prefix: "/campaign-status", detail:
|
|
7
7
|
// ─── Update a Campaign Status ──────────────────────────────────────
|
8
8
|
.put("/engine/:campaignId", async ({ params, body }) => {
|
9
9
|
const [distributionChain, campaignId] = params.campaignId.split("-");
|
10
|
+
console.log({ distributionChain: +distributionChain, campaignId });
|
10
11
|
return await StatusService.update({ distributionChain: +distributionChain, campaignId }, body);
|
11
12
|
}, {
|
12
13
|
beforeHandle: EngineGuard,
|