[v10.2.x] Folders: Fix failure to update folder in SQLite (#81861)
Folders: Fix failure to update folder in SQLite (#81795)
(cherry picked from commit ec5bc7c4ab)
This commit is contained in:
committed by
GitHub
parent
17a36772cf
commit
a2eb07699e
@@ -509,7 +509,7 @@ func (s *Service) Update(ctx context.Context, cmd *folder.UpdateFolderCommand) (
|
||||
if cmd.NewTitle != nil {
|
||||
namespace, id := cmd.SignedInUser.GetNamespacedID()
|
||||
|
||||
if err := s.bus.Publish(context.Background(), &events.FolderTitleUpdated{
|
||||
if err := s.bus.Publish(ctx, &events.FolderTitleUpdated{
|
||||
Timestamp: foldr.Updated,
|
||||
Title: foldr.Title,
|
||||
ID: dashFolder.ID, // nolint:staticcheck
|
||||
|
||||
Reference in New Issue
Block a user