From fdc71057eb98655093b9de6eaca35b3522030b6b Mon Sep 17 00:00:00 2001 From: filifa Date: Thu, 11 Jul 2024 21:53:37 -0500 Subject: [PATCH] add a todo --- internal/statsapi/feed.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/statsapi/feed.go b/internal/statsapi/feed.go index 9bdd0cd..8c4550f 100644 --- a/internal/statsapi/feed.go +++ b/internal/statsapi/feed.go @@ -99,7 +99,9 @@ func patch(obj any, path string, value any) error { } func (f *FeedResponse) Patch(instr *instruction) { - log.Println("updating %v to %v", instr.Path, instr.Value) + // TODO: need to handle each type of instruction separately: add, + // replace, remove, copy, move + log.Println("updating", instr.Path, "to", instr.Value) err := patch(f, instr.Path, instr.Value) if err != nil { log.Println(err)