Disable E2EE API routes for the next release (#14283)

This commit is contained in:
Eugen Rochko 2020-07-10 22:09:42 +02:00 committed by GitHub
parent 6cc5b822f5
commit da3978c48e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -340,22 +340,22 @@ Rails.application.routes.draw do
end
end
namespace :crypto do
resources :deliveries, only: :create
# namespace :crypto do
# resources :deliveries, only: :create
namespace :keys do
resource :upload, only: [:create]
resource :query, only: [:create]
resource :claim, only: [:create]
resource :count, only: [:show]
end
# namespace :keys do
# resource :upload, only: [:create]
# resource :query, only: [:create]
# resource :claim, only: [:create]
# resource :count, only: [:show]
# end
resources :encrypted_messages, only: [:index] do
collection do
post :clear
end
end
end
# resources :encrypted_messages, only: [:index] do
# collection do
# post :clear
# end
# end
# end
resources :conversations, only: [:index, :destroy] do
member do