mirror of
https://github.com/ad1217/PrinterStatus
synced 2024-11-21 15:03:48 -05:00
Remove debug prints
This commit is contained in:
parent
69efcd94da
commit
a08e57afad
@ -107,7 +107,6 @@ class PrinterStatus {
|
|||||||
})
|
})
|
||||||
.on('message', (data: WebSocket.Data) => {
|
.on('message', (data: WebSocket.Data) => {
|
||||||
const event: octoprint.Message = JSON.parse(data as string);
|
const event: octoprint.Message = JSON.parse(data as string);
|
||||||
console.log(event);
|
|
||||||
|
|
||||||
let ext_event: messages.ExtendedMessage = {
|
let ext_event: messages.ExtendedMessage = {
|
||||||
...event,
|
...event,
|
||||||
@ -143,7 +142,6 @@ class PrinterStatus {
|
|||||||
|
|
||||||
send_init(ws: WebSocket) {
|
send_init(ws: WebSocket) {
|
||||||
let payload: messages.ExtendedMessage;
|
let payload: messages.ExtendedMessage;
|
||||||
console.log(this.lastStatus);
|
|
||||||
if (this.lastStatus) {
|
if (this.lastStatus) {
|
||||||
payload = this.lastStatus;
|
payload = this.lastStatus;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user