Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

[#152] Fix cURL/XML import missing '=' #155

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

Conversation

jffhll
Copy link
Contributor

@jffhll jffhll commented Feb 22, 2024

Closes #152

Added a special case for xml in the curl parser along with a test and some small cosmetic cleanups.

Additionally, there seems to be some lint fixes that CI caught. Fixing those using the recommended change as per the logs. Whitespace changes are auto-changes by VSCode to improve readability.

@@ -147,7 +147,6 @@ export async function scanResources({

export const importPure = async (json: { resources: BaseModel[] } & any) => {
const _resources = json.resources;
// console.log("importPure", json);
Copy link
Contributor Author

@jffhll jffhll Feb 29, 2024

Choose a reason for hiding this comment

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

debug line so so lets just remove it.

@jffhll
Copy link
Contributor Author

jffhll commented Mar 8, 2024

@archywillhe bump on this PR. Any chance we can get it reviewed?

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

Successfully merging this pull request may close these issues.

Importing via CURL seems to strip '=' sign in xml body leading to 400 status error
1 participant