Fix undefined coredata struct
Signed-off-by: Émile Ré <emile@getprobo.com> Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
@@ -187,8 +187,8 @@ func (h *trackerMappingHandler) resolveThirdParty(
|
|||||||
|
|
||||||
scope := coredata.NewScopeFromObjectID(tp.ID)
|
scope := coredata.NewScopeFromObjectID(tp.ID)
|
||||||
|
|
||||||
var vendor coredata.Vendor
|
var t coredata.ThirdParty
|
||||||
if err := vendor.LoadByOrganizationIDAndCommonThirdPartyID(
|
if err := t.LoadByOrganizationIDAndCommonThirdPartyID(
|
||||||
ctx,
|
ctx,
|
||||||
conn,
|
conn,
|
||||||
scope,
|
scope,
|
||||||
@@ -198,5 +198,5 @@ func (h *trackerMappingHandler) resolveThirdParty(
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return &vendor.ID
|
return &t.ID
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user