mirror of
https://github.com/go-gitea/gitea.git
synced 2025-09-12 00:39:28 +00:00
Backport #28791 by @yp05327 panic:  After:  Co-authored-by: yp05327 <576951401@qq.com>
This commit is contained in:
@@ -22,5 +22,8 @@ func GenerateActionsRunnerToken(ctx context.Context, scope string) (string, Resp
|
||||
})
|
||||
|
||||
resp, extra := requestJSONResp(req, &responseText{})
|
||||
if resp == nil {
|
||||
return "", extra
|
||||
}
|
||||
return resp.Text, extra
|
||||
}
|
||||
|
Reference in New Issue
Block a user