fix: all pass swarmbounty id
This commit is contained in:
@ -158,7 +158,7 @@ async function notifyMiddleServer(params: {
|
|||||||
body: JSON.stringify({ signature, stakingKey }),
|
body: JSON.stringify({ signature, stakingKey }),
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("[TASK] Add PR Response: ", response);
|
console.log("[SUBMISSION] Add PR Response: ", response);
|
||||||
|
|
||||||
if (response.status !== 200) {
|
if (response.status !== 200) {
|
||||||
throw new Error(`Posting to middle server failed: ${response.statusText}`);
|
throw new Error(`Posting to middle server failed: ${response.statusText}`);
|
||||||
|
@ -73,6 +73,7 @@ export async function routes() {
|
|||||||
if (!success) {
|
if (!success) {
|
||||||
const middleServerPayload = {
|
const middleServerPayload = {
|
||||||
taskId: TASK_ID,
|
taskId: TASK_ID,
|
||||||
|
swarmBountyId,
|
||||||
action: "add-todo-status",
|
action: "add-todo-status",
|
||||||
stakingKey,
|
stakingKey,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user