don't try to update if there is no SKU

This commit is contained in:
Ben Miller
2024-11-17 08:18:54 -07:00
parent 5d0ae653fa
commit d6d6af3c44
4 changed files with 27 additions and 6 deletions

View File

@ -6,5 +6,8 @@ export function reinstallTriggers() {
let ss = SpreadsheetApp.getActive()
ScriptApp.newTrigger("newSkuHandler").forSpreadsheet(ss).onEdit().create()
ScriptApp.newTrigger("matchProductToShopifyHandler").forSpreadsheet(ss).onEdit().create()
ScriptApp.newTrigger("matchProductToShopifyOnEditHandler")
.forSpreadsheet(ss)
.onEdit()
.create()
}