Skip to content

Commit

Permalink
Changed SuiteCRM API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
bensonpaul committed Jun 4, 2024
1 parent c3f368c commit 72f8db5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions static/js/main-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ $.ajax(settings).done(function (response) {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://devl-crm.unblock.health/legacy/Api/access_token",
"url": "https://devl-crm.unblock.health/Api/access_token",
"method": "POST",
"headers": {
"Accept": "application/vnd.api+json"
Expand All @@ -182,7 +182,7 @@ $.ajax(settings).done(function (response) {
var obj = $.parseJSON(response);
var access_token = obj.access_token;
var settings = {
"url": "https://devl-crm.unblock.health/legacy/Api/V8/module",
"url": "https://devl-crm.unblock.health/Api/V8/module",
"method": "POST",
"headers": {
"Accept": "application/vnd.api+json",
Expand All @@ -199,7 +199,7 @@ $.ajax(settings).done(function (response) {
var settings = {
"async": true,
"crossDomain": true,
"url": "https://devl-crm.unblock.health/legacy/Api/V8/module/Accounts/c548fc60-389f-8f5b-5ecb-64cce0924678/relationships",
"url": "https://devl-crm.unblock.health/Api/V8/module/Accounts/c548fc60-389f-8f5b-5ecb-64cce0924678/relationships",
"method": "POST",
"headers": {
"Accept": "application/vnd.api+json",
Expand Down Expand Up @@ -304,7 +304,7 @@ $('#contact-submit-live').prop('disabled', 'disabled');
var obj = $.parseJSON(response);
var access_token = obj.access_token;
var settings = {
"url": "https://devl-crm.unblock.health/legacy/Api/V8/module",
"url": "https://devl-crm.unblock.health/Api/V8/module",
"method": "POST",
"headers": {
"Accept": "application/vnd.api+json",
Expand All @@ -321,7 +321,7 @@ $('#contact-submit-live').prop('disabled', 'disabled');
var settings = {
"async": true,
"crossDomain": true,
"url": "https://devl-crm.unblock.health/legacy/Api/V8/module/Accounts/c548fc60-389f-8f5b-5ecb-64cce0924678/relationships",
"url": "https://devl-crm.unblock.health/Api/V8/module/Accounts/c548fc60-389f-8f5b-5ecb-64cce0924678/relationships",
"method": "POST",
"headers": {
"Accept": "application/vnd.api+json",
Expand Down

0 comments on commit 72f8db5

Please sign in to comment.