From d8969721c524057e7a97f86d3744969df29d8112 Mon Sep 17 00:00:00 2001 From: DMcP89 Date: Tue, 2 Jul 2024 15:07:39 -0400 Subject: [PATCH] Changing APPEND command to write category --- internal/modules/string/commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/modules/string/commands.go b/internal/modules/string/commands.go index 769f3433..799f7743 100644 --- a/internal/modules/string/commands.go +++ b/internal/modules/string/commands.go @@ -239,7 +239,7 @@ Overwrites part of a string value with another by offset. Creates the key if it { Command: "append", Module: constants.StringModule, - Categories: []string{constants.StringCategory, constants.ReadCategory, constants.SlowCategory}, + Categories: []string{constants.StringCategory, constants.WriteCategory, constants.SlowCategory}, Description: `(APPEND key value) If key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string, so APPEND will be similar to [SET] in this special case.`, Sync: true, KeyExtractionFunc: appendKeyFunc,