grr
This commit is contained in:
1 parent
4f425bfca0
commit
187bf1c111
1 file changed
+4
-3
+4
-3
@@ -237,8 +237,8 @@ async def process_webhook(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Import here to avoid circular imports
|
# Import here to avoid circular imports
|
||||||
import src.asquare
|
import src.asquare as asquare
|
||||||
import src.glue
|
import src.glue as glue
|
||||||
|
|
||||||
for count in inventory_counts:
|
for count in inventory_counts:
|
||||||
variation_id = count.get("catalog_object_id")
|
variation_id = count.get("catalog_object_id")
|
||||||
@@ -275,7 +275,8 @@ async def process_webhook(
|
|||||||
print(f"[PROCESS] Processing catalog version update...")
|
print(f"[PROCESS] Processing catalog version update...")
|
||||||
|
|
||||||
# Import here to avoid circular imports
|
# Import here to avoid circular imports
|
||||||
from src import asquare, glue
|
import src.asquare as asquare
|
||||||
|
import src.glue as glue
|
||||||
|
|
||||||
catalog_object = data.get("data", {}).get("object", {})
|
catalog_object = data.get("data", {}).get("object", {})
|
||||||
object_type = catalog_object.get("type")
|
object_type = catalog_object.get("type")
|
||||||
|
|||||||
Reference in new issue
Block a user