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

SQL Import Status: Ensure we pull site type ID from server for validation #1523

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

saroshaga
Copy link
Contributor

Description

We changed the way we validate if an app is supported for SQL / DB import operations in this PR

This PR builds on that to ensure that we're validating the app against the correct parameter, i.e. typeId field from the server response.

Steps to Reproduce & Test

  1. Run npm run build
  2. Run ./dist/bin/vip-import-sql-status.js @<siteId>.production
  3. Verify message The type of application you specified does not currently support SQL imports.
  4. Pull down PR
  5. Run npm run build
  6. Run ./dist/bin/vip-import-sql-status.js @<siteId>.production
  7. Validate proper response

@saroshaga saroshaga requested a review from a team October 6, 2023 07:04
@saroshaga saroshaga merged commit f173fff into trunk Oct 6, 2023
9 checks passed
@saroshaga saroshaga deleted the fix/sql-import-type-id-check branch October 6, 2023 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants