Skip to content

Commit

Permalink
Update family.rb
Browse files Browse the repository at this point in the history
Fix for: maybe-finance#1766

Signed-off-by: Jacco Broeren <[email protected]>
  • Loading branch information
F2210 authored Feb 2, 2025
1 parent 2c2b600 commit e39b706
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/family.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def get_link_token(webhooks_url:, redirect_url:, accountable_type: nil, region:
self.class.plaid_us_provider
end

return nil unless provider

provider.get_link_token(
user_id: id,
webhooks_url: webhooks_url,
Expand Down

0 comments on commit e39b706

Please sign in to comment.