Skip to content

Fix issue with export profile api route#93

Merged
privateip merged 1 commit intoitential:develfrom
privateip:fix-profile-export
Mar 27, 2025
Merged

Fix issue with export profile api route#93
privateip merged 1 commit intoitential:develfrom
privateip:fix-profile-export

Conversation

@privateip
Copy link
Member

The is an error calling the GET /profiles/{name}/export API route. The server returns Cannot read properties of undefined (reading 'length') error.

This issue is server side so this commit attempts to work around the issue by calling the GET /profiles/{name} route instead for the export function.

This change should be undone once the server side route is fixed.

fixes #92

The is an error calling the `GET /profiles/{name}/export` API route.  The
server returns `Cannot read properties of undefined (reading 'length')`
error.

This issue is server side so this commit attempts to work around the
issue by calling the `GET /profiles/{name}` route instead for the export
function.

This change should be undone once the server side route is fixed.

fixes #92
@privateip privateip merged commit f13b270 into itential:devel Mar 27, 2025
1 check passed
@privateip privateip deleted the fix-profile-export branch March 27, 2025 14:19
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.

v0.7.0 - Export Profile - Error "Cannot read properties of undefined (reading 'length')"

1 participant