less-logs-2
This commit is contained in:
parent
4dff07db50
commit
36eb3e397c
|
@ -17,7 +17,7 @@ const server = Server.configure({
|
|||
connection.requiresAuthentication = true;
|
||||
},
|
||||
onAuthenticate(data) {
|
||||
console.debug(data)
|
||||
// console.debug(data)
|
||||
if (!data.requestHeaders) {
|
||||
console.error('Request headers not found');
|
||||
return null;
|
||||
|
@ -53,7 +53,7 @@ const server = Server.configure({
|
|||
}
|
||||
|
||||
authorizer.getProfile(params).then((r) => {
|
||||
// console.debug(r)
|
||||
console.debug(r)
|
||||
const { profile: author } = r.data.app_data
|
||||
const author_id = author.get('id')
|
||||
if(author_id) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user