fix capitalization
This commit is contained in:
2
main.go
2
main.go
@@ -58,7 +58,7 @@ func extractPatches(diffPatch []byte) ([]jsonpatch.Patch, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, obj := range objs {
|
for _, obj := range objs {
|
||||||
diff := obj.(map[string]any)["Diff"]
|
diff := obj.(map[string]any)["diff"]
|
||||||
patch, err := json.Marshal(diff)
|
patch, err := json.Marshal(diff)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return patches, err
|
return patches, err
|
||||||
|
|||||||
Reference in New Issue
Block a user