fix missing global function
This commit is contained in:
@ -10,7 +10,7 @@ export function onEditHandler(e: GoogleAppsScript.Events.SheetsOnEdit) {
|
||||
matchProductToShopifyOnEditHandler(e)
|
||||
}
|
||||
|
||||
function matchProductToShopifyOnEditHandler(
|
||||
export function matchProductToShopifyOnEditHandler(
|
||||
e: GoogleAppsScript.Events.SheetsOnEdit
|
||||
) {
|
||||
var sheet = SpreadsheetApp.getActive().getActiveSheet()
|
||||
|
||||
@ -14,11 +14,14 @@ import { reinstallTriggers } from "./triggers"
|
||||
import { newSkuHandler } from "./newSku"
|
||||
import { columnOnEditHandler } from "./OnEditHandler"
|
||||
import { fillProductFromTemplate } from "./fillProductFromTemplate"
|
||||
|
||||
// prettier-ignore
|
||||
;(global as any).onOpen = onOpen
|
||||
;(global as any).initMenu = initMenu
|
||||
;(global as any).getShopifyProducts = getShopifyProducts
|
||||
;(global as any).runShopifyOrders = runShopifyOrders
|
||||
;(global as any).matchProductToShopifyHandler = matchProductToShopifyHandler
|
||||
;(global as any).matchProductToShopifyOnEditHandler = matchProductToShopifyOnEditHandler
|
||||
;(global as any).updateShopifyProductHandler = updateShopifyProductHandler
|
||||
;(global as any).columnOnEditHandler = columnOnEditHandler
|
||||
;(global as any).reauthorizeScript = reauthorizeScript
|
||||
|
||||
Reference in New Issue
Block a user