Skip to content

Commit

Permalink
issue #fix btoa
Browse files Browse the repository at this point in the history
  • Loading branch information
GSuma21 committed Jan 22, 2024
1 parent 669755b commit cd48716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class AdminWorkapceService {

async createdSessionBySessionManager(obj:any) {
const config = {
url: `${urlConstants.API_URLS.CREATED_SESSION_BY_SESSION_MANAGER}${obj.page}&limit=${obj?.limit}&order=${obj?.order || ''}&sort_by=${obj?.sort_by || ''}&status=${obj?.filteredData?.status || ''}&type=${obj?.filteredData?.type || ''}&search=${(obj?.searchText)}`
url: `${urlConstants.API_URLS.CREATED_SESSION_BY_SESSION_MANAGER}${obj.page}&limit=${obj?.limit}&order=${obj?.order || ''}&sort_by=${obj?.sort_by || ''}&status=${obj?.filteredData?.status || ''}&type=${obj?.filteredData?.type || ''}&search=${btoa(obj?.searchText)}`
};
try {
let result = await this.httpService.get(config);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class SearchPopoverComponent implements OnInit {
: '';
const queryString = organizationsQueryParam + designationQueryParam;
const config = {
url: urlConstants.API_URLS[this.control.meta.url] + this.page + '&limit=' + this.limit + '&search=' + this.searchText + queryString,
url: urlConstants.API_URLS[this.control.meta.url] + this.page + '&limit=' + this.limit + '&search=' + btoa(this?.searchText) + queryString,
payload: {}
};
try {
Expand Down

0 comments on commit cd48716

Please sign in to comment.