HOTFIX: fixed no framed-print returned in interiors query (#35)
This commit is contained in:
@@ -87,7 +87,7 @@ export class InteriorAPI extends BaseSQLDataSource {
|
||||
filter.productId,
|
||||
);
|
||||
return allInteriors.filter((i: Interior) => {
|
||||
const it = i.type.toString().toLowerCase();
|
||||
const it = i.type.toString().replace('_', '-').toLowerCase();
|
||||
const or = i.orientation.toString().toLocaleLowerCase();
|
||||
const uriMatch = `${or}/${it}/room${i.roomNumber}.`;
|
||||
const foundUri = validUris.find(({ uri }) => uri.includes(uriMatch));
|
||||
|
||||
Reference in New Issue
Block a user