|
|
@ -51,7 +51,8 @@ module API |
|
|
|
post do |
|
|
|
post do |
|
|
|
write_work_package_attributes @work_package |
|
|
|
write_work_package_attributes @work_package |
|
|
|
|
|
|
|
|
|
|
|
if write_request_valid?(@work_package, WorkPackages::CreateContract) && @create_service.save |
|
|
|
if write_request_valid?(@work_package, WorkPackages::CreateContract) && |
|
|
|
|
|
|
|
@create_service.save |
|
|
|
@work_package.reload |
|
|
|
@work_package.reload |
|
|
|
|
|
|
|
|
|
|
|
WorkPackages::WorkPackageRepresenter.create(@work_package, |
|
|
|
WorkPackages::WorkPackageRepresenter.create(@work_package, |
|
|
|