[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:
Sofia Papagiannaki
2024-02-05 15:24:49 +02:00
committed by GitHub
parent 17a36772cf
commit a2eb07699e
+1 -1
View File
@@ -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