Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashpatil78 committed Feb 26, 2024
1 parent ca1c375 commit 995cf87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['parallel', 'jasmine', '@angular-devkit/build-angular'],
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-parallel'),
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
Expand Down
6 changes: 3 additions & 3 deletions src/app/core/services/app-version.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ export class AppVersionService {
appSupportDetails: AppSupportedDetails;
lastLoggedInVersion: string;
eou: ExtendedOrgUser;
}) => !appVersionDetails.appSupportDetails.supported && environment.production
}) => !appVersionDetails.appSupportDetails.supported
),
map((appVersionDetails) => ({ ...appVersionDetails, deviceInfo }))
);
}

isSupported(deviceInfo: ExtendedDeviceInfo): Observable<AppSupportedDetails> {
const data = {
app_version: deviceInfo.appVersion,
device_os: deviceInfo.platform,
app_version: '6.14.0',
device_os: 'IOS',
};
return this.routerApiService.post<AppSupportedDetails>('/mobileapp/check', data);
}
Expand Down

0 comments on commit 995cf87

Please sign in to comment.