Skip to content

Commit 9ab2756

Browse files
committed
Return undefined (204 no content) from event handling function
1 parent 36fa1f9 commit 9ab2756

File tree

1 file changed

+1
-1
lines changed
  • 2nd-gen/app-distribution-feedback-to-jira/functions

1 file changed

+1
-1
lines changed

2nd-gen/app-distribution-feedback-to-jira/functions/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const handleInAppFeedback = async (event) => {
4747
if (event.data.payload.screenshotUri) {
4848
await uploadScreenshot(issueUri, event.data.payload.screenshotUri);
4949
}
50-
return true;
50+
return undefined; // returns 204 (no content) which is ignored
5151
};
5252

5353
export const feedbacktojira =

0 commit comments

Comments
 (0)