diff --git a/src/api/routes/channels/#channel_id/messages/#message_id/reactions.ts b/src/api/routes/channels/#channel_id/messages/#message_id/reactions.ts
index 3484b288..305f81fc 100644
--- a/src/api/routes/channels/#channel_id/messages/#message_id/reactions.ts
+++ b/src/api/routes/channels/#channel_id/messages/#message_id/reactions.ts
@@ -229,15 +229,15 @@ router.put(
? (
await Member.findOneOrFail({
where: { id: req.user_id },
- relations: { roles: true, user: true },
- select: {
- index: true,
- ...Object.fromEntries(PublicMemberProjection.map((x) => [x, true])),
- user: Object.fromEntries(PublicUserProjection.map((x) => [x, true])),
- roles: {
- id: true,
- },
- },
+ relations: { roles: true, user: true },
+ select: {
+ index: true,
+ ...Object.fromEntries(PublicMemberProjection.map((x) => [x, true])),
+ user: Object.fromEntries(PublicUserProjection.map((x) => [x, true])),
+ roles: {
+ id: true,
+ },
+ },
})
).toPublicMember()
: undefined;
diff --git a/src/cdn/Server.ts b/src/cdn/Server.ts
index 198f6bdd..b75dbfe6 100644
--- a/src/cdn/Server.ts
+++ b/src/cdn/Server.ts
@@ -22,8 +22,6 @@ import { CORS, BodyParser } from "@spacebar/api";
import path from "path";
import guildProfilesRoute from "./routes/guild-profiles";
import morgan from "morgan";
-import { loadWebRtcLibrary, mediaServer, WRTC_PORT_MAX, WRTC_PORT_MIN, WRTC_PUBLIC_IP } from "@spacebar/webrtc*";
-import { green, yellow } from "picocolors";
import { storage } from "./util";
export type CDNServerOptions = ServerOptions;
diff --git a/tsconfig.json b/tsconfig.json
index b320cf88..20433a12 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -6,7 +6,7 @@
/* Projects */
"incremental": true /* Save .tsbuildinfo files to allow for incremental compilation of projects. */,
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
- "tsBuildInfoFile": "./dist/src.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
+ "tsBuildInfoFile": "./dist/src.tsbuildinfo" /* Specify the path to .tsbuildinfo incremental compilation file. */,
// "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
// "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
// "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
|