style(backend): Format
This commit is contained in:
parent
c37d4d8e04
commit
ddee299b4a
25 changed files with 265 additions and 150 deletions
|
@ -57,7 +57,10 @@ export async function getLearningPaths(
|
|||
);
|
||||
res.json(learningPaths.data);
|
||||
} catch (error) {
|
||||
getLogger().error('❌ Unexpected error fetching learning paths:', error);
|
||||
getLogger().error(
|
||||
'❌ Unexpected error fetching learning paths:',
|
||||
error
|
||||
);
|
||||
res.status(500).json({ error: 'Internal server error' });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue