fix model
This commit is contained in:
@@ -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"`
|
||||
|
Reference in New Issue
Block a user