discourse/plugins/chat/app/services
Joffrey JAFFEUX a884842fa5
FIX: do not use return in block (#26260)
We were incorrectly using `return` in a block which was causing exceptions at runtime. These exceptions were not causing much issues as they are in defer block.

While working on writing a test for this specific case, I noticed that our `upsert_custom_fields` function was using rails `update_all` which is not updating the `updated_at` timestamp. This commit also fixes it and adds a test for it.
2024-03-20 10:49:28 +01:00
..
chat FIX: do not use return in block (#26260) 2024-03-20 10:49:28 +01:00
service DEV: Remove the need for splat operator in services 2024-03-07 15:54:37 +01:00
service.rb DEV: Remove the need for splat operator in services 2024-03-07 15:54:37 +01:00