Skip to content

Commit 60783e4

Browse files
committed
fix: remove unnecessary end statement in throttle! method
1 parent b5b80d2 commit 60783e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/services/integrations/aggregator/base_service.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ def throttle!(*providers)
6060
if provider == provider_name.to_s
6161
raise BaseService::ThrottlingError.new(provider_name:) \
6262
unless Throttling.for(provider_name.to_sym).check(:client, throttle_key)
63-
end
6463
end
6564
end
6665
end
@@ -178,4 +177,4 @@ def parse_response(response)
178177
end
179178
end
180179
end
181-
end
180+
end

0 commit comments

Comments
 (0)