Invalid association definition id when uploading

Hi,

When trying to upload a module (from one portal to another) with the following line of code, I receive an error saying “invalid association definition id: 65”. I know the error is because the ids are different between the different portals. Is there a way to use these HubL-Functions without having to hard-code the IDs?

{% set offers = crm_associations(request_contact.contact.company_id, "USER_DEFINED", 65, query, properties, true) %}

I tried putting them into module-fields, but then I still receive the same error (except it just says “0” instead). Or is there a way to tell the hs upload to ignore this error?