mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-13 21:44:32 +08:00
fix
This commit is contained in:
@@ -200,7 +200,6 @@ class RepositoriesController < ApplicationController
|
||||
end
|
||||
@readme = result[:status] === :success ? result[:body] : nil
|
||||
@readme['content'] = decode64_content(@readme, @owner, @repository, params[:ref])
|
||||
Rails.logger.info "======+#{@readme}"
|
||||
render json: @readme.slice("type", "encoding", "size", "name", "path", "content", "sha")
|
||||
rescue
|
||||
render json: nil
|
||||
|
||||
Reference in New Issue
Block a user