Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.iemr.tm-ui</groupId>
<artifactId>tm-ui</artifactId>
<version>3.4.0</version>
<version>3.6.1</version>
<name>TM-UI</name>
<description>Piramal - tm: Module ui</description>
<packaging>war</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ export class DoctorService {
return this.http.get(
environment.specialistWorkListURL +
this.sessionstorage.getItem('providerServiceID') +
`/${this.sessionstorage.getItem('serviceID')}/${this.sessionstorage.getItem(
'userID',
`/${this.sessionstorage.getItem('serviceID')},
)}`,
);
}
Expand All @@ -165,8 +164,7 @@ export class DoctorService {
return this.http.get(
environment.specialistFutureWorkListURL +
this.sessionstorage.getItem('providerServiceID') +
`/${this.sessionstorage.getItem('serviceID')}/${this.sessionstorage.getItem(
'userID',
`/${this.sessionstorage.getItem('serviceID')},
)}`,
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ export class ServicePointResolve implements Resolve<any> {
resolve(route: ActivatedRouteSnapshot) {
const serviceProviderId: any =
this.sessionstorage.getItem('providerServiceID');
const userId: any = this.sessionstorage.getItem('userID');
return this.servicePointService
.getServicePoints(userId, serviceProviderId)
.getServicePoints( serviceProviderId)
.pipe(
map((res: any) => {
if (res) {
Expand Down
3 changes: 1 addition & 2 deletions src/app/app-modules/service-point/service-point.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ export class ServicePointService {
readonly sessionstorage: SessionStorageService,
) {}

getServicePoints(userId: string, serviceProviderId: string) {
getServicePoints( serviceProviderId: string) {
return this.http.post(environment.servicePointUrl, {
userID: userId,
providerServiceMapID: serviceProviderId,
});
}
Expand Down