Add API docs

This commit is contained in:
MICHAEL JACKSON
2017-11-11 23:30:41 -08:00
parent 32ca39a11e
commit ba6fb43aa4
5 changed files with 139 additions and 123 deletions

View File

@ -1,13 +1,13 @@
const AuthAPI = require('../AuthAPI')
const DefaultScopes = {
const defaultScopes = {
blacklist: {
read: true
}
}
function createAuth(req, res) {
AuthAPI.createToken(DefaultScopes).then(
AuthAPI.createToken(defaultScopes).then(
token => {
res.send({ token })
},