加入项目邀请码修改

This commit is contained in:
yuanke 2016-08-01 11:18:01 +08:00
parent f0cf7adcdf
commit bb0bfa21cc
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ class WechatsController < ActionController::Base
ps = ProjectsService.new
status = ps.join_project({invite_code: project.invite_code}, user)
if status[:state] != 0
raise ProjectService::JoinProjectError.message(status)
raise ProjectsService::JoinProjectError.message(status)
end
creator = User.find(project.user_id)