fix capitalization
This commit is contained in:
parent
4cd03052ed
commit
1fe8fbf827
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
|
||||||
|
|
Loading…
Reference in New Issue