summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-04-13 15:48:27 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 15:48:27 -0400
commit78d98f0244bd3285cc46bb7d0254677bc2df0fe4 (patch)
treeeb136907d92813019ce781675814713f38fd3b49 /src/api
parentclusterfuck (diff)
downloadserver-78d98f0244bd3285cc46bb7d0254677bc2df0fe4.tar.xz
spacebar
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/channels/#channel_id/messages/index.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/api/routes/channels/#channel_id/messages/index.ts b/src/api/routes/channels/#channel_id/messages/index.ts
index 551efb4e..811d2b4c 100644
--- a/src/api/routes/channels/#channel_id/messages/index.ts
+++ b/src/api/routes/channels/#channel_id/messages/index.ts
@@ -23,9 +23,7 @@ import {
 	ChannelType,
 	Config,
 	DmChannelDTO,
-	emitEvent,
 	FieldErrors,
-	getPermission,
 	Member,
 	Message,
 	MessageCreateEvent,
@@ -34,8 +32,10 @@ import {
 	ReadState,
 	Rights,
 	Snowflake,
-	uploadFile,
 	User,
+	emitEvent,
+	getPermission,
+	uploadFile,
 } from "@spacebar/util";
 import { Request, Response, Router } from "express";
 import { HTTPError } from "lambert-server";
@@ -178,7 +178,7 @@ router.get(
 					x.author = User.create({
 						id: "4",
 						discriminator: "0000",
-						username: "Fosscord Ghost",
+						username: "Spacebar Ghost",
 						public_flags: 0,
 					});
 				x.attachments?.forEach((y: Attachment) => {