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

13 lines
284 B
TypeScript
Raw Normal View History

import request from 'app/services/request';
export default {
2020-05-24 04:38:24 +05:30
send({ subject = '', email = '', message = '', category = '' }) {
return request.post('/api/feedback', {
subject,
email,
message,
category,
});
},
};