Disable a token
(self, token_id: int)
| 263 | await self.db.reset_error_count(token_id) |
| 264 | |
| 265 | async def disable_token(self, token_id: int): |
| 266 | """Disable a token""" |
| 267 | await self.db.update_token(token_id, is_active=False) |
| 268 | |
| 269 | # ========== Token添加 (支持Project创建) ========== |
| 270 |
no test coverage detected