fix model
Some checks are pending
CI / Lint (push) Waiting to run
CI / Test (push) Waiting to run
CI / End-to-End (push) Waiting to run
CI / Publish Docker (push) Blocked by required conditions
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-26 15:11:34 +10:00
parent 0c2aecd989
commit bc93fa4bad

View File

@@ -2,7 +2,6 @@ package models
import ( import (
"encoding/json" "encoding/json"
"time"
) )
type CloudEventReceived struct { type CloudEventReceived struct {
@@ -151,7 +150,7 @@ type ConfigSpec struct {
Profile []struct { Profile []struct {
ProfileData struct { ProfileData struct {
ExtensionKey string `json:"ExtensionKey"` ExtensionKey string `json:"ExtensionKey"`
ObjectData time.Time `json:"ObjectData"` // Modified from time.Time ObjectData string `json:"ObjectData"` // Modified from time.Time
} `json:"ProfileData"` } `json:"ProfileData"`
ProfileID string `json:"ProfileId"` ProfileID string `json:"ProfileId"`
ProfileParams any `json:"ProfileParams"` ProfileParams any `json:"ProfileParams"`