From fa0f67fa6920428e760f50219d0a68155f776593 Mon Sep 17 00:00:00 2001 From: Gara Dorta <1507774+Gara-Dorta@users.noreply.github.com> Date: Fri, 15 May 2026 18:34:50 +0200 Subject: [PATCH] Remove uneeded if statement --- src/docs/add_v1_receive_schemas.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/docs/add_v1_receive_schemas.go b/src/docs/add_v1_receive_schemas.go index 5679450..2d467b1 100644 --- a/src/docs/add_v1_receive_schemas.go +++ b/src/docs/add_v1_receive_schemas.go @@ -162,9 +162,6 @@ func extractDocTemplate(content string) (string, int, int, error) { func unmarshalDocument(content string, withSchemesTemplate bool) (map[string]interface{}, error) { if withSchemesTemplate { content = strings.ReplaceAll(content, "` + \"`\" + `", "`") - } - - if withSchemesTemplate { content = strings.Replace(content, schemesTemplateValue, `"`+schemesPlaceholderToken+`"`, 1) }