File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -657,10 +657,11 @@ func migrateApplicationIntegrationsFn() {
657
657
658
658
for _ , i := range ints {
659
659
_ , err := stmt .Exec (
660
+ intToUUID (i .ApplicationID ),
660
661
getIntegrationKind (i .Kind ),
661
662
i .CreatedAt ,
662
663
i .UpdatedAt ,
663
- getIntegrationConfiguration (i .Kind , i .Settings ),
664
+ string ( getIntegrationConfiguration (i .Kind , i .Settings ) ),
664
665
)
665
666
if err != nil {
666
667
log .Fatal ("Exec application integrations statement error" , err )
@@ -935,7 +936,7 @@ func getIntegrationKind(k string) string {
935
936
return ""
936
937
}
937
938
938
- func getIntegrationConfiguration (kind string , raw json.RawMessage ) json. RawMessage {
939
+ func getIntegrationConfiguration (kind string , raw json.RawMessage ) [] byte {
939
940
out := make (map [string ]interface {})
940
941
941
942
// HTTP
You can’t perform that action at this time.
0 commit comments