We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eac3022 + 62fc55f commit 5a90c39Copy full SHA for 5a90c39
1 file changed
src/views/Tenant/TenantView.js
@@ -113,7 +113,7 @@ const Tenant = () => {
113
const getTenant = async () => {
114
const tenantResponse = await client.get(`/api/tenants/${id}`);
115
const tenant = tenantResponse.data;
116
- const propertyUrl = `/api/properties/${tenant.propertyName}`;
+ const propertyUrl = `/api/properties/${tenant.propertyID}`;
117
const propertyResponse = await client.get(propertyUrl);
118
const property = propertyResponse.data;
119
const ticketsResponse = await client.get(`/api/tickets?tenant=${tenant.id}`);
0 commit comments