fix rate limit check never ends (#13994)
This commit is contained in:
		| @@ -57,7 +57,7 @@ export class RateLimiterService { | ||||
| 						return reject({ code: 'BRIEF_REQUEST_INTERVAL', info }); | ||||
| 					} else { | ||||
| 						if (hasLongTermLimit) { | ||||
| 							return max; | ||||
| 							return max.then(ok, reject); | ||||
| 						} else { | ||||
| 							return ok(); | ||||
| 						} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 anatawa12
					anatawa12