Skip to content
Snippets Groups Projects
Commit 72584394 authored by Louis's avatar Louis :fire:
Browse files

Merge tag 'v1.2.0' into develop

v1.2.0

- Password Reset API
- SendGrid Mail Integration
parents b1b42f34 ab7a9faa
No related branches found
No related tags found
No related merge requests found
{
"name": "jetsam-server",
"version": "1.1.1",
"version": "1.2.0",
"description": "",
"main": "index.js",
"scripts": {
......
......@@ -13,6 +13,7 @@ const common = {
paranoid: true,
underscored: true,
},
logging: false,
...(config('database', {})),
}
......
......@@ -49,6 +49,13 @@ function createSlackPayload({ name, email, message = '' }) {
exports.send = async ctx => {
const { message } = ctx.request.body
if (!message) {
ctx.status = 204
ctx.body = null
return
}
const payload = { message }
const user = await ctx.services.authService.getUser()
if (user) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment