7 lines
200 B
JavaScript
7 lines
200 B
JavaScript
|
const StatusCodes = require("../../utilities/statusCodes")
|
||
|
|
||
|
module.exports = async ctx => {
|
||
|
await ctx.instance.authApi.enableUser(ctx.request.body.username)
|
||
|
ctx.response.status = StatusCodes.OK
|
||
|
}
|