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

fix(server-routes): make sure input's key has value #306

Merged
merged 1 commit into from
Jul 4, 2023
Merged

Conversation

arashsheyda
Copy link
Member

No description provided.

@@ -133,7 +133,7 @@ const finalURL = computed(() => domain.value + finalPath.value)

function parseInputs(inputs: any[]) {
const formatted = Object.fromEntries(
inputs.filter(({ key, value }) => key !== undefined && value !== undefined).map(({ key, value }) => [key, value]),
Copy link
Member Author

Choose a reason for hiding this comment

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

key !== undefined would let to:

image

@arashsheyda arashsheyda changed the title fix: make sure input's key has value fix(server-routes): make sure input's key has value Jul 4, 2023
@antfu antfu merged commit 8f25d72 into main Jul 4, 2023
3 checks passed
@antfu antfu deleted the srd-patch-1 branch July 4, 2023 14:57
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