mirror of
https://github.com/we-promise/sure.git
synced 2026-04-20 04:24:06 +00:00
Preserve pagination on entry updates (#1563)
* Preserve pagination on entry updates * Test fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user