mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 12:34:12 +00:00
Lunchflow integration (#259)
* First pass lunch flow * Fixes - Fix apikey not being saved properly due to provider no reload support - Fix proper messages if we try to link existing accounts. * Fix better error handling * Filter existing transactions and skip duplicates * FIX messaging * Branding :) * Fix XSS and linter * FIX provider concern - also fix code duplication * FIX md5 digest * Updated determine_sync_start_date to be account-aware * Review fixes * Broaden error catch to not crash UI * Fix buttons styling * FIX process account error handling * FIX account cap and url parsing * Lunch Flow brand * Found orphan i18n strings * Remove per conversation with @sokie --------- Co-authored-by: Juan José Mata <juanjo.mata@gmail.com>
This commit is contained in:
@@ -273,6 +273,17 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
resources :lunchflow_items, only: %i[index new create show edit update destroy] do
|
||||
collection do
|
||||
get :select_accounts
|
||||
post :link_accounts
|
||||
end
|
||||
|
||||
member do
|
||||
post :sync
|
||||
end
|
||||
end
|
||||
|
||||
namespace :webhooks do
|
||||
post "plaid"
|
||||
post "plaid_eu"
|
||||
|
||||
Reference in New Issue
Block a user