Skip to content

Commit

Permalink
Merge pull request #2587 from cisagov/bugfix/update-organizations-end…
Browse files Browse the repository at this point in the history
…point-to-v2

Update get orgs endpoint call to v2 in frontend OrganizationList.tsx
  • Loading branch information
nickviola authored Feb 29, 2024
2 parents 97bfdd7 + 0d98aaf commit f8343b5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export const OrganizationList: React.FC<{
const [organizations, setOrganizations] = useState<Organization[]>([]);
const [dialogOpen, setDialogOpen] = useState(false);
const history = useHistory();
const regionId = user?.regionId;
const getOrgsURL = `/organizations/regionId/${regionId}`;
const getOrgsURL = `/v2/organizations/`;

const orgCols: GridColDef[] = [
{ field: 'name', headerName: 'Organization', minWidth: 100, flex: 2 },
Expand Down

0 comments on commit f8343b5

Please sign in to comment.