|
|
|
@ -85,8 +85,8 @@ module Mobile
|
|
|
|
|
authenticate!
|
|
|
|
|
begin
|
|
|
|
|
package = current_user.project_packages.find(params[:id])
|
|
|
|
|
ProjectPackages::WinBiddingService.new(package, symbolize_params).call
|
|
|
|
|
rescue ProjectPackages::WinBiddingService::Error =>ex
|
|
|
|
|
::ProjectPackages::WinBiddingService.new(package, symbolize_params).call
|
|
|
|
|
rescue ::ProjectPackages::WinBiddingService::Error =>ex
|
|
|
|
|
render_error(ex.message)
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|