Skip to content

Conversation

@izzudin96
Copy link

Refactor database import to use require for conditional loading based on DB_TYPE.

What?

Getting error when DB_TYPE is set to mysql.
FirebaseAppError: Failed to parse private key: Error: Invalid PEM formatted message. at new ServiceAccount

Why?

Fix error when using mysql

Testing / Proof

No error after this change when using mysql

@bigcommerce/api-client-developers

Refactor database import to use require for conditional loading based on DB_TYPE.
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.

1 participant