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

feat: add qbd di flag #215

Merged
merged 4 commits into from
Oct 14, 2024
Merged

feat: add qbd di flag #215

merged 4 commits into from
Oct 14, 2024

Conversation

Hrishabh17
Copy link
Contributor

@Hrishabh17 Hrishabh17 commented Oct 14, 2024

Copy link

PR description must contain a link to a ClickUp (case-insensitive)

Copy link

Tests Skipped Failures Errors Time
25 0 💤 1 ❌ 0 🔥 1.819s ⏱️

Copy link

Tests Skipped Failures Errors Time
25 0 💤 0 ❌ 0 🔥 1.687s ⏱️

@@ -49,7 +49,8 @@ def update(self, instance, validated):
else:
auth_tokens = AuthToken.objects.get(user__user_id=self.context['request'].user)
cluster_domain = get_cluster_domain(auth_tokens.refresh_token)
org = Org.objects.create(name=org_name, fyle_org_id=org_id, cluster_domain=cluster_domain)
allow_qbd_direct_integration = validated.get('allow_qbd_direct_integration', False)
Copy link
Contributor

Choose a reason for hiding this comment

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

why is this required when default is false?

Copy link
Contributor

Choose a reason for hiding this comment

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

FE doesn't have to send it any time, we'll control everything in backend

Copy link
Contributor

Choose a reason for hiding this comment

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

enable / disable etc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

will we enable the flag from quickbooks_connector_api?

Copy link
Contributor

Choose a reason for hiding this comment

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

no, via manual DB query from humans

Copy link

Tests Skipped Failures Errors Time
25 0 💤 0 ❌ 0 🔥 1.720s ⏱️

@Hrishabh17 Hrishabh17 merged commit ce423b0 into master Oct 14, 2024
2 checks passed
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.

2 participants