Skip to content

Commit

Permalink
fix(api): add 308 status code for /invite
Browse files Browse the repository at this point in the history
  • Loading branch information
ToastedDev committed Dec 24, 2024
1 parent bc6aeb1 commit f45b39a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ app.get("/invite", (req, res) => {
const guildId = req.query.guild_id;

if (!guildId || typeof guildId !== "string")
res.redirect(
res.status(308).redirect(
"https://discord.com/oauth2/authorize?client_id=1245807579624378601&permissions=1099780115520&integration_type=0&scope=bot+applications.commands"
);
else {
Expand Down

0 comments on commit f45b39a

Please sign in to comment.