mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-02 20:15:22 +02:00
Preserve pagination on entry updates (#1563)
* Preserve pagination on entry updates * Test fix
This commit is contained in:
parent
7be6a372bf
commit
a4d10097d5
5 changed files with 41 additions and 15 deletions
|
@ -23,10 +23,8 @@ module Providable
|
|||
end
|
||||
|
||||
def synth_provider
|
||||
@synth_provider ||= begin
|
||||
api_key = self_hosted? ? Setting.synth_api_key : ENV["SYNTH_API_KEY"]
|
||||
api_key.present? ? Provider::Synth.new(api_key) : nil
|
||||
end
|
||||
api_key = self_hosted? ? Setting.synth_api_key : ENV["SYNTH_API_KEY"]
|
||||
api_key.present? ? Provider::Synth.new(api_key) : nil
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue