From 69795449c79bde22855586d84dcb8ba1f96eaac6 Mon Sep 17 00:00:00 2001 From: Kristian Borgwarth <10348902@pm.me> Date: Fri, 3 Apr 2026 02:43:58 +0200 Subject: [PATCH] sm(create_note): remove redundant slugify call --- core/handlers/create_note_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/handlers/create_note_handler.go b/core/handlers/create_note_handler.go index 5869070..6a045f6 100644 --- a/core/handlers/create_note_handler.go +++ b/core/handlers/create_note_handler.go @@ -55,7 +55,7 @@ func (h *CreateNoteHandler) Handle(ctx context.Context, raw json.RawMessage) (an return nil, err } - if err = noteRepo.Upsert(ctx, cmd.Title, cmd.Path, frontmatter.Slugify(cmd.Title)); err != nil { + if err = noteRepo.Upsert(ctx, cmd.Title, cmd.Path, slug); err != nil { return nil, err }