加入项目邀请码修改
This commit is contained in:
parent
f0cf7adcdf
commit
bb0bfa21cc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue