Fix API call to return all Harvest Projects
This commit is contained in:
parent
03066f1135
commit
782cb1fcec
2 changed files with 12 additions and 2 deletions
|
@ -151,7 +151,7 @@ class HarvestProjectImporter(FromHarvest, rattail_harvest_importing.model.Harves
|
|||
model.HarvestProject.deleted == None))
|
||||
|
||||
def get_host_objects(self):
|
||||
return self.webapi.get_projects()['projects']
|
||||
return self.webapi.get_projects()
|
||||
|
||||
def normalize_host_object(self, project):
|
||||
data = super(HarvestProjectImporter, self).normalize_host_object(project)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue