mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
* 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>