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"`