accounts-frontend/packages/app/services/api/feedback.ts
ErickSkrauch 82abe0a746
Extract general popups markup to its own component
Split popups controllers into separate components
Implemented storybooks for all project's popups
2020-07-06 19:29:56 +03:00

13 lines
274 B
TypeScript

import request from 'app/services/request';
interface SendFeedbackParams {
subject: string;
email: string;
message: string;
category: string | number;
}
export function send(params: SendFeedbackParams) {
return request.post('/api/feedback', params);
}