Skip to content

Commit

Permalink
Merge pull request #668 from bcgov/feat/srs-339-fix
Browse files Browse the repository at this point in the history
minor change in api call
  • Loading branch information
midhun-aot authored Apr 17, 2024
2 parents db1aecb + fc96c6f commit 2ca3d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/features/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ const Dashboard = () => {
}
})
.then(response => {
if(response.data.success)
if(response.data)
{
console.log(response.data.message);
console.info("Assign user to BCbox successfully.");
}
else {
throw new Error('Failed to assign user to BCbox.');
Expand Down

0 comments on commit 2ca3d20

Please sign in to comment.