From bc93fa4bad04d272c823324e7230365813f52deb Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 26 Sep 2024 15:11:34 +1000 Subject: [PATCH] fix model --- server/models/models.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/models/models.go b/server/models/models.go index 4eb6507..69cae0d 100644 --- a/server/models/models.go +++ b/server/models/models.go @@ -2,7 +2,6 @@ package models import ( "encoding/json" - "time" ) type CloudEventReceived struct { @@ -150,8 +149,8 @@ type ConfigSpec struct { Operation string `json:"Operation"` Profile []struct { ProfileData struct { - ExtensionKey string `json:"ExtensionKey"` - ObjectData time.Time `json:"ObjectData"` // Modified from time.Time + ExtensionKey string `json:"ExtensionKey"` + ObjectData string `json:"ObjectData"` // Modified from time.Time } `json:"ProfileData"` ProfileID string `json:"ProfileId"` ProfileParams any `json:"ProfileParams"`