fix(note_repo): pass context

This commit is contained in:
Kristian Borgwarth 2026-04-03 23:56:37 +02:00
parent f8e9b3902d
commit d6811e4ac1

View file

@ -68,7 +68,7 @@ func (h *CreateNoteHandler) Handle(ctx context.Context, uow *repositories.UnitOf
return nil, err return nil, err
} }
if err = tagRepo.UpsertNoteTags(note.ID(), utils.Select(tagModels, func(t *models.Tag) string { return t.ID() })); err != nil { if err = tagRepo.UpsertNoteTags(ctx, note.ID(), utils.Select(tagModels, func(t *models.Tag) string { return t.ID() })); err != nil {
return nil, err return nil, err
} }