testing updating a game type

This commit is contained in:
filifa committed 2024-07-13 18:34:30 -05:00
1 parent 9ebb5bf610
commit def18e04e2
3 files changed
+33 -16

No files matched your search

+1
View File
@@ -76,6 +76,7 @@ func patch(obj any, path string, value any) error {
if err != nil {
break
}
// FIXME: think i need to do bounds checking here too
err = patch(v[idx], rest, value)
default:
err = errors.New("couldn't determine type")