From 557dc48c86df5d3cbc5270e7a42dc15a14be7939 Mon Sep 17 00:00:00 2001 From: Torgrim <sir_alexiner@hotmail.com> Date: Mon, 22 Apr 2024 11:37:06 +0200 Subject: [PATCH] Resolved timestamp error with POST registration webhooks. --- Go/internal/handlers/endpoint/dashboard/registrations_handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/Go/internal/handlers/endpoint/dashboard/registrations_handler.go b/Go/internal/handlers/endpoint/dashboard/registrations_handler.go index 99b6045..b382dc3 100644 --- a/Go/internal/handlers/endpoint/dashboard/registrations_handler.go +++ b/Go/internal/handlers/endpoint/dashboard/registrations_handler.go @@ -126,6 +126,7 @@ func handleRegPostRequest(w http.ResponseWriter, r *http.Request) { cie.Country = reg.Country cie.IsoCode = reg.IsoCode cie.Features = reg.Features + cie.Lastchange = reg.Lastchange _func.LoopSendWebhooksRegistrations(UUID, cie, Endpoints.Registrations, Webhooks.EventRegister) // Send webhook notifications } -- GitLab