From 2fa5129c95f10aada6742ebe1fbaedcf89641f6b Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 23 Apr 2021 20:39:52 +0200 Subject: [PATCH] :bug: fix directory name --- src/routes/auth/login.ts | 2 +- .../messages/{:message_id => #message_id}/crosspost.ts | 0 .../#channel_id/messages/{:message_id => #message_id}/index.ts | 0 .../messages/{:message_id => #message_id}/reactions.ts | 0 4 files changed, 1 insertion(+), 1 deletion(-) rename src/routes/channels/#channel_id/messages/{:message_id => #message_id}/crosspost.ts (100%) rename src/routes/channels/#channel_id/messages/{:message_id => #message_id}/index.ts (100%) rename src/routes/channels/#channel_id/messages/{:message_id => #message_id}/reactions.ts (100%) diff --git a/src/routes/auth/login.ts b/src/routes/auth/login.ts index 9db2e06a..247ee018 100644 --- a/src/routes/auth/login.ts +++ b/src/routes/auth/login.ts @@ -2,7 +2,7 @@ import { Request, Response, Router } from "express"; import { check, FieldErrors, Length } from "../../util/instanceOf"; import bcrypt from "bcrypt"; import jwt from "jsonwebtoken"; -import { User, UserModel } from "@fosscord/server-util"; +import { UserModel } from "@fosscord/server-util"; import Config from "../../util/Config"; import { adjustEmail } from "./register"; diff --git a/src/routes/channels/#channel_id/messages/:message_id/crosspost.ts b/src/routes/channels/#channel_id/messages/#message_id/crosspost.ts similarity index 100% rename from src/routes/channels/#channel_id/messages/:message_id/crosspost.ts rename to src/routes/channels/#channel_id/messages/#message_id/crosspost.ts diff --git a/src/routes/channels/#channel_id/messages/:message_id/index.ts b/src/routes/channels/#channel_id/messages/#message_id/index.ts similarity index 100% rename from src/routes/channels/#channel_id/messages/:message_id/index.ts rename to src/routes/channels/#channel_id/messages/#message_id/index.ts diff --git a/src/routes/channels/#channel_id/messages/:message_id/reactions.ts b/src/routes/channels/#channel_id/messages/#message_id/reactions.ts similarity index 100% rename from src/routes/channels/#channel_id/messages/:message_id/reactions.ts rename to src/routes/channels/#channel_id/messages/#message_id/reactions.ts