FIX repository create file with token bug

This commit is contained in:
Jasder 2020-09-29 11:45:29 +08:00
parent f6d10881cc
commit d24e7b6a10
1 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ module Gitea
attr_reader :error, :result attr_reader :error, :result
def initialize(token, owner, params) def initialize(token, owner, params)
@token = token
@owner = owner @owner = owner
@params = params @params = params
end end