... | @@ -15,7 +15,9 @@ export default class Translator { |
... | @@ -15,7 +15,9 @@ export default class Translator { |
|
const interactor = new self.Interactor()
|
|
const interactor = new self.Interactor()
|
|
let data = request.body || {}
|
|
let data = request.body || {}
|
|
|
|
|
|
interactor.createUser(data).then(data => console.log(data))
|
|
interactor.createUser(data)
|
|
|
|
.then(data => response.send(200, data))
|
|
|
|
.catch(data => response.send(500, data));
|
|
}
|
|
}
|
|
|
|
|
|
get()
|
|
get()
|
... | | ... | |