read read notification in front end working

This commit is contained in:
isUnknown 2024-11-17 12:23:28 +01:00
parent fe56312f20
commit 583daa1759
6 changed files with 35 additions and 57 deletions

View file

@ -15,7 +15,6 @@ return function($project, $notificationId) {
}
}
// Réindexation et ré-encodage en YAML avant la mise à jour
$user->update([
'notifications' => Yaml::encode(array_values($notifications))
]);