mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 09:38:02 +00:00
chore: fix prettier formatting
This commit is contained in:
@@ -319,11 +319,7 @@ router.post('/api-keys', authenticateUser, async (req, res) => {
|
||||
})
|
||||
}
|
||||
|
||||
if (
|
||||
totalUsageLimit !== undefined &&
|
||||
totalUsageLimit !== null &&
|
||||
totalUsageLimit !== ''
|
||||
) {
|
||||
if (totalUsageLimit !== undefined && totalUsageLimit !== null && totalUsageLimit !== '') {
|
||||
const usageLimit = Number(totalUsageLimit)
|
||||
if (Number.isNaN(usageLimit) || usageLimit < 0) {
|
||||
return res.status(400).json({
|
||||
|
||||
Reference in New Issue
Block a user