Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 78cb80d

Browse files
committed
Fix broken tests
1 parent b7cab1a commit 78cb80d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_assemblyai.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def api_key
1313

1414
# @return [String] AssemblyAI Base URL
1515
def base_url
16-
ENV.fetch("ASSEMBLYAI_BASE_URL") || AssemblyAI::Environment::DEFAULT
16+
ENV.key?("ASSEMBLYAI_BASE_URL") ? ENV.fetch("ASSEMBLYAI_BASE_URL") : AssemblyAI::Environment::DEFAULT
1717
end
1818

1919
def client

0 commit comments

Comments
 (0)