accounts-frontend/packages/app/services/api/feedback.ts
2019-12-28 12:16:20 +02:00

13 lines
248 B
TypeScript

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