mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
More rebranding changes (#159)
* Replace Maybe for Sure in select code areas * Make sure passwords are consistent * Remove (admin|member) from demo data first name * Database and schema names finally to `sure` * Fix broken test * Another (benchmarking) database name to `sure_*` * More rebranding to Sure * Missed this Maybe mention in the same page * Random nitpicks and more Maybes * Demo data accounts and more Maybes * Test data account updates * Impersonation test accounts * Consistency with `compose.example.yml`
This commit is contained in:
@@ -79,8 +79,8 @@ class SimplefinAccount::Processor
|
||||
end
|
||||
|
||||
# SimpleFin uses banking convention (expenses negative, income positive)
|
||||
# Maybe expects opposite convention (expenses positive, income negative)
|
||||
# So we negate the amount to convert from SimpleFin to Maybe format
|
||||
# Sure expects opposite convention (expenses positive, income negative)
|
||||
# So we negate the amount to convert from SimpleFin to Sure format
|
||||
-parsed_amount
|
||||
rescue ArgumentError => e
|
||||
Rails.logger.error "Failed to parse SimpleFin transaction amount: #{amount_value.inspect} - #{e.message}"
|
||||
|
||||
Reference in New Issue
Block a user