change state
parent
0d1ad0f6b7
commit
bc47c500f0
|
@ -51,7 +51,7 @@ func Webhook(c *fiber.Ctx) error {
|
||||||
} else if message.Event.Type == "PrintPaused" {
|
} else if message.Event.Type == "PrintPaused" {
|
||||||
state = 3
|
state = 3
|
||||||
} else {
|
} else {
|
||||||
state = 0
|
state = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
notification.AddNotification(nil, structs.AddNotificationRequest{
|
notification.AddNotification(nil, structs.AddNotificationRequest{
|
||||||
|
|
Loading…
Reference in New Issue