mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 05:27:20 +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