mirror of
https://github.com/fosrl/pangolin.git
synced 2025-07-16 00:45:03 +02:00
Rename
This commit is contained in:
parent
819a0ecb43
commit
8c9d19f6cd
4 changed files with 58 additions and 3 deletions
|
@ -45,7 +45,7 @@ export const receiveBandwidth = async (req: Request, res: Response, next: NextFu
|
|||
|
||||
res.status(200).json({ message: 'Bandwidth data updated successfully' });
|
||||
} catch (error) {
|
||||
console.error('Error updating bandwidth data:', error);
|
||||
logger.error('Error updating bandwidth data:', error);
|
||||
res.status(500).json({ error: 'Internal server error' });
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue