Skip to content

Commit

Permalink
Fix api port
Browse files Browse the repository at this point in the history
  • Loading branch information
lillithkt committed Sep 18, 2023
1 parent 5f4cb09 commit eef6fc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/shiggy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const slashcommand: SlashCommand = {
callback: async (interaction) => {
let ShiggyId;
if (interaction.options.getInteger("id") == null) {
ShiggyId = (await fetch("http://api/api/v3/random")).headers.get(
ShiggyId = (await fetch("http://api:4321/api/v3/random")).headers.get(
"Shiggy-Id"
);
} else {
Expand All @@ -30,7 +30,7 @@ export default [
callback: async (msg, args) => {
let ShiggyId;
if (args.length == 0) {
ShiggyId = (await fetch("http://api/api/v3/random")).headers.get(
ShiggyId = (await fetch("http://api:4321/api/v3/random")).headers.get(
"Shiggy-Id"
);
} else {
Expand Down

0 comments on commit eef6fc0

Please sign in to comment.