CollActionteam / collaction_backend

Backend code for CollAction
6 stars 4 forks source link

Do not return MessageId from SES in API response #17

Closed rubenhorn closed 3 years ago

rubenhorn commented 3 years ago

https://github.com/CollActionteam/collaction_backend/blob/development/email_contact/main.go#L58

We should not return the MessageId, since it is internal information and not a useful API response for the user.
Instead, return a "generic" confirmation as JSON like { "message": "message sent successfully" }.