mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-29 16:30:54 +05:30
82abe0a746
Split popups controllers into separate components Implemented storybooks for all project's popups
13 lines
274 B
TypeScript
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);
|
|
}
|