fix(utils): Uppercase event action name (#7822)

Currently, the keys of the events contain a lowercased action, e.g. `INVENTORY_ITEM_created`, which is breaking our usage across multiple modules
This commit is contained in:
Oli Juhl
2024-06-24 19:43:49 +02:00
committed by GitHub
parent 96fb7a962e
commit 25210369d9
4 changed files with 43 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
import { IProductModuleService } from "@medusajs/types"
import {
Modules,
CommonEvents,
Modules,
ProductEvents,
ProductStatus,
composeMessage,