TASK22211: normalize case creation and media endpoint contracts
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
import axios from "axios";
|
||||
import CryptoJS from "crypto-js";
|
||||
import { azureHeaders } from "../../../actions/core/headers";
|
||||
import { consoleLogger } from "../../../actions/core/logger";
|
||||
import { getToken } from "../../../actions/core/token";
|
||||
import { hashAPIPath } from "../../../actions/core/hash";
|
||||
|
||||
const WEBAPI_URL =
|
||||
process.env.RELAY_ROOT ||
|
||||
"https://dev-pedw-ns.servicebus.windows.net/dev-pedw-hc/";
|
||||
import { respondSuccess } from "../middleware/apiResponse";
|
||||
|
||||
// export default async function ApiProxy(req, res) {
|
||||
// var caseid = req.query.caseid;
|
||||
@@ -134,5 +125,5 @@ export default function ApiProx(req, res) {
|
||||
}
|
||||
]
|
||||
};
|
||||
return res.status(200).json(data);
|
||||
return respondSuccess(res, data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user