Skip to content

Commit

Permalink
MOSIP:37899 - APi review comment changes (#1049)
Browse files Browse the repository at this point in the history
* MOSIP:37899 - APi review comment changes

Signed-off-by: sudeep <[email protected]>

* MOSIP:37899 - APi review comment changes

Signed-off-by: sudeep <[email protected]>

---------

Signed-off-by: sudeep <[email protected]>
  • Loading branch information
Sudeep7353 authored Dec 19, 2024
1 parent dc0656f commit 22fda28
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pmp-revamp-ui/src/pages/common/ApproveRejectPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function ApproveRejectPopup({ popupData, closePopUp, approveRejectResponse, titl
sbiId: popupData.sbiId,
deviceDetailId: popupData.deviceId,
status: status === "approved" ? 'Activate' : 'De-activate'
}, "mosip.pms.mapping.device.to.sbi.post", true);
}, "mosip.pms.approval.mapping.device.to.sbi.post", true);

const url = getPartnerManagerUrl(`/devicedetail/${popupData.deviceId}/approval`, process.env.NODE_ENV);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function AddSbi() {
const fetchData = async () => {
try {
setDataLoaded(false);
const response = await HttpService.get(getPartnerManagerUrl('/partners/approved-device-provider-ids', process.env.NODE_ENV));
const response = await HttpService.get(getPartnerManagerUrl('/partners/v4?status=approved&partnerType=Device_Provider', process.env.NODE_ENV));
if (response) {
const responseData = response.data;
if (responseData && responseData.response) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function AddFtm() {
const fetchData = async () => {
try {
setDataLoaded(false);
const response = await HttpService.get(getPartnerManagerUrl('/partners/approved-ftm-provider-ids', process.env.NODE_ENV));
const response = await HttpService.get(getPartnerManagerUrl('/partners/v4?status=approved&partnerType=FTM_Provider', process.env.NODE_ENV));
if (response) {
const responseData = response.data;
if (responseData && responseData.response) {
Expand Down
2 changes: 1 addition & 1 deletion pmp-revamp-ui/src/pages/partner/policies/RequestPolicy.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function RequestPolicy() {
const fetchData = async () => {
try {
setDataLoaded(false);
const response = await HttpService.get(getPartnerManagerUrl('/partners/approved-partner-ids-with-policy-groups', process.env.NODE_ENV));
const response = await HttpService.get(getPartnerManagerUrl('/partners/v4?status=approved&policyGroupAvailable=true', process.env.NODE_ENV));
if (response) {
const responseData = response.data;
if (responseData && responseData.response) {
Expand Down

0 comments on commit 22fda28

Please sign in to comment.