mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-24 08:33:33 +00:00
Fix some linting warnings
This commit is contained in:
7 files changed
+6
-6
No files matched your search
@@ -16,7 +16,7 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { checkToken, Config, Rights } from "@spacebar/util";
|
||||
import { checkToken, Rights } from "@spacebar/util";
|
||||
import * as Sentry from "@sentry/node";
|
||||
import { NextFunction, Request, Response } from "express";
|
||||
import { HTTPError } from "lambert-server";
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
import { route } from "@spacebar/api";
|
||||
import {
|
||||
checkToken,
|
||||
Config,
|
||||
Email,
|
||||
FieldErrors,
|
||||
generateToken,
|
||||
|
||||
@@ -22,7 +22,7 @@ const router = Router();
|
||||
|
||||
router.post("/", route({}), async (req: Request, res: Response) => {
|
||||
// TODO:
|
||||
const { connection_name, connection_id } = req.params;
|
||||
// const { connection_name, connection_id } = req.params;
|
||||
res.sendStatus(204);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user