diff --git a/app/controllers/watchers_controller.rb b/app/controllers/watchers_controller.rb index 566941e5f..7f6b2457f 100644 --- a/app/controllers/watchers_controller.rb +++ b/app/controllers/watchers_controller.rb @@ -32,7 +32,7 @@ class WatchersController < ApplicationController if @target_type.downcase == "project" render_ok({watchers_count: @target.watchers_count, watched: true}) else - render_ok({ watched: false}) + render_ok({ watched: true}) end rescue Exception => e uid_logger_error(e.message)