Skip to content

Commit

Permalink
Fixed undefined query
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhat Sharma committed Apr 1, 2024
1 parent f60f576 commit 14b8eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/services/MDSEnabledClientService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export abstract class MDSEnabledClientService {
}

patchQueryObjectWithDataSourceId(queryObject?: HttpFetchQuery): HttpFetchQuery | undefined {
queryObject = queryObject || {};
if (this.mdsEnabled) {
queryObject = queryObject || {};
queryObject.dataSourceId = this.dataSourceId;
}
return queryObject;
Expand Down

0 comments on commit 14b8eeb

Please sign in to comment.