IO-2933 Resolve PR comments.
This commit is contained in:
@@ -95,8 +95,8 @@ const formatPriority = (priority) => {
|
||||
* @returns {{header, body: string, subHeader: string}}
|
||||
*/
|
||||
|
||||
function getEndpoints() {
|
||||
const endPoints = InstanceManager({
|
||||
const getEndpoints = () =>
|
||||
InstanceManager({
|
||||
imex: process.env?.NODE_ENV === "test" ? "https://test.imex.online" : "https://imex.online",
|
||||
rome:
|
||||
bodyshop.convenient_company === "promanager"
|
||||
@@ -107,8 +107,7 @@ function getEndpoints() {
|
||||
? "https//test.romeonline.io"
|
||||
: "https://romeonline.io"
|
||||
});
|
||||
return endPoints;
|
||||
}
|
||||
|
||||
const generateTemplateArgs = (title, priority, description, dueDate, bodyshop, job, taskId) => {
|
||||
const endPoints = getEndpoints();
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user