change follow watched
This commit is contained in:
parent
6c113d43f9
commit
8bc503e9e6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue