[v10.3.x] Folders: Fix failure to update folder in SQLite (#81862)

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:43 +02:00
committed by GitHub
parent 482a89b553
commit 45426decd8
+1 -1
View File
@@ -552,7 +552,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