refactor(auth): standardize API response structure and remove unused error handling

This commit is contained in:
Haileyesus
2026-04-18 13:28:20 +03:00
parent e0298acce2
commit 64d54ed3e2
4 changed files with 8 additions and 28 deletions

View File

@@ -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));
}),
);