Update Join.tsx

This commit is contained in:
Tony Giorgio
2023-02-11 20:19:43 -06:00
committed by GitHub
parent 3be2da7ee7
commit 81f8ca08b3

View File

@@ -13,7 +13,7 @@ export default function Join() {
// Fetch the waitlist status from the backend
useEffect(() => {
if (waitlistId) {
fetch(`https://waitlist.mutiny-waitlist.workers.dev/waitlist${waitlistId}`).then(res => {
fetch(`https://waitlist.mutiny-waitlist.workers.dev/waitlist/${waitlistId}`).then(res => {
if (res.status === 200) {
setWaitlisted(true);
}