Folders: Fix failure to update folder in SQLite (#81795)

This commit is contained in:
Sofia Papagiannaki
2024-02-05 10:06:11 +02:00
committed by GitHub
parent 8175b31e16
commit ec5bc7c4ab
2 changed files with 37 additions and 1 deletions
+1 -1
View File
@@ -610,7 +610,7 @@ func (s *Service) Update(ctx context.Context, cmd *folder.UpdateFolderCommand) (
namespace, id := cmd.SignedInUser.GetNamespacedID()
metrics.MFolderIDsServiceCount.WithLabelValues(metrics.Folder).Inc()
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