Faizaan Gagan
a58c37bdc5
FIX: allow admin to change topic notification level via API (#21581)
* FIX: allow admin to change topic notification level via API
* default to `current_user` if admin changes own level
* check param existence
* simplify condition
* remove rescue
* Update spec/requests/topics_controller_spec.rb
Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
* added specs for other cases
---------
Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
2023-05-23 00:47:58 +05:30
..
2023-05-19 07:37:23 -05:00
2023-05-19 10:33:48 +02:00
2023-02-13 12:39:45 +08:00
2023-01-09 11:49:28 +00:00
2023-04-24 20:36:40 +00:00
2023-05-15 12:45:04 +03:00
2023-02-15 11:29:22 +00:00
2023-05-23 00:26:24 +05:30
2023-05-19 10:33:48 +02:00
2023-05-09 19:19:26 +02:00
2023-05-18 12:46:44 +03:00
2023-04-05 12:28:16 +01:00
2023-05-23 00:47:58 +05:30
2023-02-02 13:03:11 +00:00
2023-05-17 09:16:42 -07:00
2023-05-22 13:18:09 +08:00
2023-05-17 17:49:52 +02:00
2023-05-19 07:37:23 -05:00
2023-03-23 11:47:14 +10:00
2023-04-06 23:30:19 +05:30
2023-05-19 12:08:48 +02:00
2021-12-23 08:40:15 +10:00
2023-01-09 11:49:28 +00:00