Skip to content

Commit

Permalink
clean up final state
Browse files Browse the repository at this point in the history
  • Loading branch information
mtuchi committed Nov 5, 2024
1 parent 3b69201 commit 2f3bd0f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions workflows/wf3/3-save-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ fn(state => {
return state;
});

put(metadataPath, {
body: $.body,
headers: {
Accept: 'application/vnd.github+json',
'X-GitHub-Api-Version': '2022-11-28',
'user-agent': 'OpenFn',
put(
metadataPath,
{
body: $.body,
headers: {
Accept: 'application/vnd.github+json',
'X-GitHub-Api-Version': '2022-11-28',
'user-agent': 'OpenFn',
},
},
});
({ body, data, references, response, ...state }) => state
);

0 comments on commit 2f3bd0f

Please sign in to comment.