Skip to content

Commit

Permalink
fix(feedback): Return when the sendFeedback promise resolves (#14683)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis authored Dec 13, 2024
1 parent 017867d commit 9e3bc93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/feedback/src/core/sendFeedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const sendFeedback: SendFeedback = (
response.statusCode >= 200 &&
response.statusCode < 300
) {
resolve(eventId);
return resolve(eventId);
}

if (response && typeof response.statusCode === 'number' && response.statusCode === 0) {
Expand Down

0 comments on commit 9e3bc93

Please sign in to comment.