lib/cellect/server/api/users.rb in cellect-server-0.0.1 vs lib/cellect/server/api/users.rb in cellect-server-0.0.2
- old
+ new
@@ -7,20 +7,20 @@
put :add_seen do
user_id = param_to_int :user_id
subject_id = param_to_int :subject_id
if user_id && user_id > 0 && subject_id && subject_id > 0
- project.async.add_seen_for user_id, subject_id
+ workflow.async.add_seen_for user_id, subject_id
end
nil
end
post :load do
user_id = param_to_int :user_id
if user_id && user_id > 0
- project.async.user user_id
+ workflow.async.user user_id
end
nil
end
end