Skip to content

Commit

Permalink
Pass the logger instace to the server logging callback
Browse files Browse the repository at this point in the history
  • Loading branch information
iwiznia committed Aug 6, 2021
1 parent 144b817 commit f31dd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Logger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class Logger {
return l;
});
this.logLines = [];
const promise = this.serverLoggingCallback({api_setCookie: false, logPacket: JSON.stringify(linesToLog)});
const promise = this.serverLoggingCallback(this, {api_setCookie: false, logPacket: JSON.stringify(linesToLog)});
if (!promise) {
return;
}
Expand Down

0 comments on commit f31dd1f

Please sign in to comment.