mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2025-12-06 06:44:07 +00:00
- moved to typescript - axios rate limitmodule is busted, removed for now, do something else for that - sequelize-typescript - dotenv, not dotenv-flow - removed playlist details route types for API ton of minor fixes and improvements
17 lines
427 B
TypeScript
17 lines
427 B
TypeScript
import type { RequestHandler } from "express";
|
|
|
|
import curriedLogger from "../utils/logger.ts";
|
|
const logger = curriedLogger(import.meta.filename);
|
|
|
|
const __controller_func: RequestHandler = async (req, res) => {
|
|
try {
|
|
return null;
|
|
} catch (error) {
|
|
res.status(500).send({ message: "Internal Server Error" });
|
|
logger.error("__controller_func", { error });
|
|
return null;
|
|
}
|
|
};
|
|
|
|
export { __controller_func };
|