Skip to content

Commit

Permalink
Return undefined (204 no content) from event handling function
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibolay committed Dec 7, 2022
1 parent 36fa1f9 commit 9ab2756
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const handleInAppFeedback = async (event) => {
if (event.data.payload.screenshotUri) {
await uploadScreenshot(issueUri, event.data.payload.screenshotUri);
}
return true;
return undefined; // returns 204 (no content) which is ignored
};

export const feedbacktojira =
Expand Down

0 comments on commit 9ab2756

Please sign in to comment.