Skip to content

Commit

Permalink
[from now] 2024/02/28 16:20:34
Browse files Browse the repository at this point in the history
diff --git a/src/index.ts b/src/index.ts
index add9eb9..6b191bd 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,6 +1,6 @@
 import { InteractionType } from "discord-interactions";
 import { Hono } from "hono";
-import { handleApplicationComand as handleApplicationCommand } from "./interactions/applicationCommand";
+import { handleApplicationCommand as handleApplicationCommand } from "./interactions/applicationCommand";
 import { handleModalSubmit } from "./interactions/modalSubmit";
 import { verifyDiscordInteraction } from "./middleware/verifyDiscordInteraction";
 import { CheckinsRepository } from "./repositories/checkinsRepository";
diff --git a/src/interactions/applicationCommand.ts b/src/interactions/applicationCommand.ts
index 47f49bd..0e8f4bd 100644
--- a/src/interactions/applicationCommand.ts
+++ b/src/interactions/applicationCommand.ts
@@ -3,7 +3,7 @@ import { CHECKIN_COMMAND_NAME } from "../constants";
 import { UsersRepository } from "../repositories/usersRepository";
 import { buildCheckinModalResponse } from "../responses/checkinCommandResponse";

-export const handleApplicationComand = async ({
+export const handleApplicationCommand = async ({
   intentObj,
   userRepository,
 }: {
  • Loading branch information
kawamataryo committed Feb 28, 2024
1 parent 3ec0282 commit ec87652
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { InteractionType } from "discord-interactions";
import { Hono } from "hono";
import { handleApplicationComand as handleApplicationCommand } from "./interactions/applicationCommand";
import { handleApplicationCommand } from "./interactions/applicationCommand";
import { handleModalSubmit } from "./interactions/modalSubmit";
import { verifyDiscordInteraction } from "./middleware/verifyDiscordInteraction";
import { CheckinsRepository } from "./repositories/checkinsRepository";
Expand Down
2 changes: 1 addition & 1 deletion src/interactions/applicationCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { CHECKIN_COMMAND_NAME } from "../constants";
import { UsersRepository } from "../repositories/usersRepository";
import { buildCheckinModalResponse } from "../responses/checkinCommandResponse";

export const handleApplicationComand = async ({
export const handleApplicationCommand = async ({
intentObj,
userRepository,
}: {
Expand Down

0 comments on commit ec87652

Please sign in to comment.