Skip to content

Commit

Permalink
api: 修复下载 debug_file 接口并改用 GET 请
Browse files Browse the repository at this point in the history
相关 #1416
  • Loading branch information
icyleaf committed Feb 27, 2024
1 parent 5d8da93 commit d659b80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api/debug_files/download_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Api::DebugFiles::DownloadController < Api::BaseController
before_action :set_app

# GET /api/debug_files/download
def index
def show
release_version = params[:release_version]
build_version = params[:build_version]
order = convert_order(params[:order])
Expand Down Expand Up @@ -59,7 +59,7 @@ def search_by_device_type(order)
end

def set_app
@channel.app
@app = @channel.app
end

def convert_order(value)
Expand Down

0 comments on commit d659b80

Please sign in to comment.