Preserve pagination on entry updates (#1563)

* Preserve pagination on entry updates

* Test fix
This commit is contained in:
Zach Gollwitzer
2024-12-20 11:24:46 -05:00
committed by GitHub
parent 7be6a372bf
commit a4d10097d5
5 changed files with 41 additions and 15 deletions

View File

@@ -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