less-logs-2

This commit is contained in:
Untone 2024-03-04 19:04:40 +03:00
parent 4dff07db50
commit 36eb3e397c

View File

@ -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) {