implement graphQL and init postgres
This commit is contained in:
@@ -56,7 +56,7 @@ type SystemConfigInfo struct {
|
||||
DataType string `json:"dataType"`
|
||||
IsEditable bool `json:"isEditable"`
|
||||
IsSecret bool `json:"isSecret"`
|
||||
DateCreated string `json:"dateCreated"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
DateModified string `json:"dateModified"`
|
||||
}
|
||||
|
||||
@@ -170,7 +170,7 @@ func (sc *SystemConfig) ToSystemConfigInfo() SystemConfigInfo {
|
||||
DataType: sc.DataType,
|
||||
IsEditable: sc.IsEditable,
|
||||
IsSecret: sc.IsSecret,
|
||||
DateCreated: sc.DateCreated.Format("2006-01-02T15:04:05Z"),
|
||||
CreatedAt: sc.CreatedAt.Format("2006-01-02T15:04:05Z07:00"),
|
||||
DateModified: sc.DateModified,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user