Need Some Help with My Module

HEy all, I’m back again looking for some assistance. Not sure where to go here. My console command pulls down some info from an API and creates a configurable product. Each product has two card types, standard and foil. I have the two products created, but they are not getting attached to the parent product. Can anybody take a look and tell me what I’m doing wrong? Thanks all. https://github.com/SeleneSoftware/MagicCardImporter

submitted by /u/psion1369
[link] [comments]