accounts-frontend/packages/app/services/api/feedback.ts

13 lines
248 B
TypeScript
Raw Normal View History

import request from 'app/services/request';
export default {
send({ subject = '', email = '', message = '', category = '' }) {
2019-12-28 15:35:41 +05:30
return request.post('/api/feedback', {
subject,
email,
message,
category,
});
},
};