Skip to content

Commit 5a90c39

Browse files
author
Chris Boe
authored
Merge pull request #493 from codeforpdx/fix-tenant-propertyurl
Fix propertyUrl for TenantView
2 parents eac3022 + 62fc55f commit 5a90c39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/views/Tenant/TenantView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const Tenant = () => {
113113
const getTenant = async () => {
114114
const tenantResponse = await client.get(`/api/tenants/${id}`);
115115
const tenant = tenantResponse.data;
116-
const propertyUrl = `/api/properties/${tenant.propertyName}`;
116+
const propertyUrl = `/api/properties/${tenant.propertyID}`;
117117
const propertyResponse = await client.get(propertyUrl);
118118
const property = propertyResponse.data;
119119
const ticketsResponse = await client.get(`/api/tickets?tenant=${tenant.id}`);

0 commit comments

Comments
 (0)