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