Skip to content

Commit

Permalink
Format payload
Browse files Browse the repository at this point in the history
  • Loading branch information
gcatanese committed Dec 1, 2023
1 parent 85f7d5e commit 2b79323
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion react-app/src/dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export default function Dashboard() {
}, []);

const generateOnboardingLink = () => {
axios.post('/api/dashboard/getOnboardingLink', {host: window.location.origin})
axios.post('/api/dashboard/getOnboardingLink', {
host: window.location.origin
})
.then((response) => {
window.location.href = response.data;
})
Expand Down

0 comments on commit 2b79323

Please sign in to comment.