Files
one-api/controller
Laisky.Cai bc8ceca742 feat: api can modify token's used and remains
- Updated base image in Dockerfile from `node:16` to `node:18`
- Added `tokenPatch` struct to handle updates to the `Token` model
- Updated `UpdateToken` function to use `tokenPatch` struct for binding JSON
- Improved error handling and validation for token updates
- Refined checks for token status, expiration, and quota
- Enhanced error handling and response for token updates
- Updated JSON response to include `data` field
2023-09-30 00:53:55 +00:00
..
2023-09-17 11:30:20 +08:00
2023-08-30 21:15:56 +08:00
2023-09-15 00:24:20 +08:00
2023-09-23 22:57:59 +08:00
2023-09-17 11:30:20 +08:00
2023-06-17 18:12:58 +08:00