fix
This commit is contained in:
parent
f7ba082944
commit
689f265858
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue