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 authored and GitHub committed 2024-06-24 17:43:49 +00:00
1 parent 96fb7a962e
commit 25210369d9
4 files changed
+43 -4

No files matched your search

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