change follow watched

This commit is contained in:
sylor_huang@126.com 2020-05-18 14:50:18 +08:00
parent 6c113d43f9
commit 8bc503e9e6
1 changed files with 1 additions and 1 deletions

View File

@ -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)