added missing prepare endpoints for budgets and documents (direct uploads)

pull/8683/head
Markus Kahl 4 years ago
parent 8a75977066
commit caa4bd14c2
  1. 4
      modules/budgets/lib/api/v3/attachments/attachments_by_budget_api.rb
  2. 4
      modules/documents/lib/api/v3/attachments/attachments_by_document_api.rb

@ -45,6 +45,10 @@ module API
get &API::V3::Attachments::AttachmentsByContainerAPI.read
post &API::V3::Attachments::AttachmentsByContainerAPI.create
namespace :prepare do
post &API::V3::Attachments::AttachmentsByContainerAPI.prepare
end
end
end
end

@ -45,6 +45,10 @@ module API
get &API::V3::Attachments::AttachmentsByContainerAPI.read
post &API::V3::Attachments::AttachmentsByContainerAPI.create
namespace :prepare do
post &API::V3::Attachments::AttachmentsByContainerAPI.prepare
end
end
end
end

Loading…
Cancel
Save