From bc47c500f03ee180048247264e478506af90e1c0 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 11 May 2024 09:32:24 +0200 Subject: [PATCH] change state --- routers/router/api/v1/webhook/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/router/api/v1/webhook/webhook.go b/routers/router/api/v1/webhook/webhook.go index 9c7e6b5..5b10d9a 100644 --- a/routers/router/api/v1/webhook/webhook.go +++ b/routers/router/api/v1/webhook/webhook.go @@ -51,7 +51,7 @@ func Webhook(c *fiber.Ctx) error { } else if message.Event.Type == "PrintPaused" { state = 3 } else { - state = 0 + state = 1 } notification.AddNotification(nil, structs.AddNotificationRequest{