Moved to using GET and caching with SW

This commit is contained in:
Jori Lallo
2016-07-22 00:11:54 -07:00
parent 2669b27a08
commit e2c69903b3
9 changed files with 31 additions and 15 deletions

View File

@ -9,7 +9,7 @@ import { User, Team } from '../models';
const router = new Router();
router.post('auth.slack', async (ctx) => {
const { code } = ctx.request.body;
const { code } = ctx.body;
ctx.assertPresent(code, 'code is required');
const body = {