Skip to content

Commit 619a82c

Browse files
author
manfredsteger
committed
Update email status API path for poll invitations
Correctly fetch the email configuration status from the backend API endpoint. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1117a91e-7ac6-4005-bde2-487c64d5789f Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 3ac2a6c8-4c4e-429e-ae3c-ed30fe758d48 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/afc5b6d1-cfc6-4564-802f-661c3d73f96b/1117a91e-7ac6-4005-bde2-487c64d5789f/ZoYFVFv
1 parent 1ec6195 commit 619a82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/pages/poll.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export default function Poll() {
215215
}, [error, isAdminAccess, t]);
216216

217217
const { data: emailStatus } = useQuery<{ smtpConfigured: boolean }>({
218-
queryKey: ['/api/v1/system/email-status'],
218+
queryKey: ['/api/v1/email-status'],
219219
staleTime: 60000,
220220
});
221221
const smtpConfigured = emailStatus?.smtpConfigured ?? true;

0 commit comments

Comments
 (0)