Skip to content
Snippets Groups Projects

NuGet package API: Do not enqueue jobs directly

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -14,7 +14,7 @@ def execute
@@ -14,7 +14,7 @@ def execute
ApplicationRecord.transaction do
ApplicationRecord.transaction do
response = create_temporary_package
response = create_temporary_package
raise ServiceResponse.error(message: response.message) if package.error?
raise ServiceResponse.error(message: response.message) if response.error?
response = create_package_file(response.payload[:package])
response = create_package_file(response.payload[:package])
raise ServiceResponse.error(message: response.message) if response.error?
raise ServiceResponse.error(message: response.message) if response.error?
Loading