Skip to content

Commit

Permalink
Trial Fix: Org not created
Browse files Browse the repository at this point in the history
  • Loading branch information
subru-37 committed Sep 27, 2024
1 parent 5dad576 commit aba5094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web-admin/src/components/ProtectedRoute.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const ProtectedRoute = ({ children }) => {
const id = user.sub.substring(6);
const name = user.nickname;
const { data, mystatus } = await post(`/core/organizations`, {}, { id, name });
console.log('created');
if (mystatus === 200) {
showAlert({
title: 'Success',
Expand Down

0 comments on commit aba5094

Please sign in to comment.