accounts-frontend/packages/app/services/api/feedback.ts
2020-05-24 02:08:24 +03:00

13 lines
284 B
TypeScript

import request from 'app/services/request';
export default {
send({ subject = '', email = '', message = '', category = '' }) {
return request.post('/api/feedback', {
subject,
email,
message,
category,
});
},
};