mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-04-22 05:21:32 +00:00
refactor(auth): standardize API response structure and remove unused error handling
This commit is contained in:
@@ -148,7 +148,7 @@ router.get(
|
||||
asyncHandler(async (req: Request, res: Response) => {
|
||||
const provider = parseProvider(req.params.provider);
|
||||
const status = await providerAuthService.getProviderAuthStatus(provider);
|
||||
res.json(status);
|
||||
res.json(createApiSuccessResponse(status));
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user