Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the upload to ITGlue #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed the upload to ITGlue #25

wants to merge 2 commits into from

Conversation

mettix
Copy link

@mettix mettix commented Apr 19, 2019

commented the #if($api__org_id) statement.

Copy link

@Absoblogginlutely Absoblogginlutely left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actual problem here is the line slightly above this that gets the organization id. If you uncomment this line you always create a new record. This is fine if it's the first time you run the script, however the second time creates a second fixed asset.

Change
$api__org_id = $api__body.data.attributes.organization_id
to
$api__org_id = $api__body.attributes.organization_id
then no need to comment these lines out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants