Skip to content

Commit ca45285

Browse files
martedescokarpikpl
andauthored
Update src/api/ExtractSeats.ts
Co-authored-by: Piotr Karpala <[email protected]>
1 parent 584f8ed commit ca45285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/ExtractSeats.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const getSeatsApi = async (): Promise<Seat[]> => {
1414
let response;
1515

1616
if (config.mockedData) {
17-
response = organizationMockedResponse_seats;
17+
response = config.scope.type === "organization" ? organizationMockedResponse_seats: enterpriseMockedResponse_seats;
1818
seatsData = seatsData.concat(response.seats.map((item: any) => new Seat(item)));
1919
}
2020
else {

0 commit comments

Comments
 (0)