Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Commit eae0ac0

Browse files
authored
fix: remove discord webhook (#441)
1 parent 8de4edb commit eae0ac0

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

src/components/RepoSubmission.tsx

-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useState } from "react";
22
import { useOutsideClickRef } from "rooks";
3-
import { sendMessage } from "../lib/discord";
43
import isValidRepoUrl from "../lib/validateUrl";
54
import { ToastTrigger } from "../lib/reactHotToast";
65
import useSupabaseAuth from "../hooks/useSupabaseAuth";
@@ -44,9 +43,6 @@ const RepoSubmission = ({ isFormOpen, handleFormOpen }: RepoSubmissionProps): JS
4443
try {
4544
if (resp.status === 200) {
4645
ToastTrigger({ message: "Repo submitted successfully", type: "success" });
47-
48-
// issue #409 - TODO: This sendMessage is not working
49-
sendMessage(sanitizedUrl, userName);
5046
}
5147

5248
if (resp.status === 404) {

src/lib/discord.ts

-22
This file was deleted.

0 commit comments

Comments
 (0)