Skip to content

Commit

Permalink
fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kylevillegas93 committed Oct 22, 2024
1 parent 2f91020 commit c466d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/api/FeedbackApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ export const submitFeedback = async (feedback: Feedback) => {
fields: {
Feedback: feedback.feedback,
Category: feedback.category,
Date: new Date().toLocaleDateString('en-US'),
Date: new Date().toLocaleDateString("en-US"),
Environment: process.env.APP_ENV,
URL: feedback.url,
},
}),
});
} catch (error) {
log(error, "Failed to submit feedback");
throw new Error(`Failed to submit feedback: ${error.message}`)
throw new Error(`Failed to submit feedback: ${error.message}`);
}
};

0 comments on commit c466d94

Please sign in to comment.