Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
artemsites committed Jun 2, 2024
1 parent b734c17 commit 74dcf3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .google-scripts/sendRowWithColumnNamesToBackend.gs
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ function sendRowWithColumnNamesToBackend() {

var sheetName = sheet.getName();
if (sheetName==='Pages') {
UrlFetchApp.fetch(host+'cms-sheets/page-update', requestOptions);
UrlFetchApp.fetch(host+'/cms-sheets/page-update', requestOptions);
}
else if (sheetName==='Menu') {
UrlFetchApp.fetch(host+'cms-sheets/menu-update', requestOptions);
UrlFetchApp.fetch(host+'/cms-sheets/menu-update', requestOptions);
}
else throw new Error('There is no handler for this sheet!');
}
Expand Down

0 comments on commit 74dcf3c

Please sign in to comment.