fix model
This commit is contained in:
@@ -2,7 +2,6 @@ package models
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type CloudEventReceived struct {
|
type CloudEventReceived struct {
|
||||||
@@ -150,8 +149,8 @@ type ConfigSpec struct {
|
|||||||
Operation string `json:"Operation"`
|
Operation string `json:"Operation"`
|
||||||
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"`
|
||||||
|
Reference in New Issue
Block a user