From 93fd9333ecbeb28dee3247e19d62b7e9b927b448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cxxq250=E2=80=9D?= <“xxq250@qq.com”> Date: Thu, 28 Jul 2022 17:56:44 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20CloudIDEA=E6=96=87=E4=BB=B6=E6=A0=87?= =?UTF-8?q?=E8=AE=B0=E5=B7=B2=E8=AF=BB=E6=9C=AA=E8=AF=BB=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/mark_files/index.json.jbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/mark_files/index.json.jbuilder b/app/views/mark_files/index.json.jbuilder index ab50c251e..d3c080134 100644 --- a/app/views/mark_files/index.json.jbuilder +++ b/app/views/mark_files/index.json.jbuilder @@ -2,7 +2,7 @@ json.status 0 json.message 'success' json.count @files_result['NumFiles'] json.files do - json.array! @files_result do |file| + json.array! @files_result['Files'] do |file| mark_file = @mark_files.select{|mark| mark.file_path.to_s == file['Name']}.first json.sha Base64.encode64(file['Name'].to_s) json.name file['Name']