Skip to content

Commit

Permalink
Increase minimum char count
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake committed Jul 6, 2024
1 parent ba1ec9c commit 8358755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes/channels/#channel_id/messages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ router.get(
let pathname = new URL(uri).pathname;
while (
pathname.split("/")[0] != "attachments" &&
pathname.length > 10
pathname.length > 30
) {
pathname = pathname.split("/").slice(1).join("/");
}
Expand Down

0 comments on commit 8358755

Please sign in to comment.