1
0
Fork 0
forked from forgejo/forgejo

update sdk to latest (#6903)

This commit is contained in:
techknowlogick 2019-05-10 16:49:29 -04:00 committed by GitHub
parent d64a646c0a
commit 1dc401635b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 82 additions and 21 deletions

View file

@ -23,8 +23,7 @@ func BasicAuthEncode(user, pass string) string {
type AccessToken struct {
ID int64 `json:"id"`
Name string `json:"name"`
Token string `json:"token"`
HashedToken string `json:"hashed_token"`
Token string `json:"sha1"`
TokenLastEight string `json:"token_last_eight"`
}