mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-26 20:06:37 +08:00
Update linuxdo.go
This commit is contained in:
parent
1a856acd3f
commit
dd5a10b5eb
@ -170,6 +170,8 @@ func LinuxDoOAuth(c *gin.Context) {
|
||||
user.Quota -= common.QuotaForLinuxDoLevel3
|
||||
}
|
||||
switch NewTrustLevel {
|
||||
case 1:
|
||||
user.Quota += common.QuotaForLinuxDoLevel1
|
||||
case 2:
|
||||
user.Quota += common.QuotaForLinuxDoLevel2
|
||||
case 3:
|
||||
|
Loading…
Reference in New Issue
Block a user