fix(note_repo): pass context
This commit is contained in:
parent
f8e9b3902d
commit
d6811e4ac1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue