less-logs
This commit is contained in:
parent
d6be6def48
commit
4dff07db50
|
@ -9,7 +9,7 @@ const authorizer = new Authorizer({
|
||||||
redirectURL: process.env.REDIRECT_URL || 'https://testing.discours.io',
|
redirectURL: process.env.REDIRECT_URL || 'https://testing.discours.io',
|
||||||
});
|
});
|
||||||
|
|
||||||
console.info(authorizer)
|
// console.info(authorizer)
|
||||||
|
|
||||||
const server = Server.configure({
|
const server = Server.configure({
|
||||||
port,
|
port,
|
||||||
|
@ -53,7 +53,7 @@ const server = Server.configure({
|
||||||
}
|
}
|
||||||
|
|
||||||
authorizer.getProfile(params).then((r) => {
|
authorizer.getProfile(params).then((r) => {
|
||||||
console.debug(r)
|
// console.debug(r)
|
||||||
const { profile: author } = r.data.app_data
|
const { profile: author } = r.data.app_data
|
||||||
const author_id = author.get('id')
|
const author_id = author.get('id')
|
||||||
if(author_id) {
|
if(author_id) {
|
||||||
|
@ -100,4 +100,4 @@ const server = Server.configure({
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
server.listen().then(r => console.info(r));
|
server.listen().then(r => console.info('started'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user