Skip to content

Commit

Permalink
Change 'base' references to 'api'
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenclouston committed Nov 25, 2024
1 parent bdf9cd0 commit e5c4a9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ You can find your `api_secret_key` in the [Authsignal Portal](https://portal.aut

You must specify the correct `api_url` for your tenant's region.

| Region | Base URL |
| Region | API URL |
| ----------- | ----------------------------------- |
| US (Oregon) | https://signal.authsignal.com/v1 |
| AU (Sydney) | https://au.signal.authsignal.com/v1 |
Expand Down
4 changes: 2 additions & 2 deletions spec/authsignal/authsignal_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
})
.to_return(
status: 404,
body: {"error":"unauthorized", "errorDescription":"The request is unauthorized. Check that your API key and region base URL are correctly configured."}.to_json,
body: {"error":"unauthorized", "errorDescription":"The request is unauthorized. Check that your API key and region api URL are correctly configured."}.to_json,
headers: {'Content-Type' => 'application/json'}
)

Expand All @@ -352,7 +352,7 @@
token: "token",
)

expect(response).to eq error_code: "unauthorized", status_code: 404, error_description: "The request is unauthorized. Check that your API key and region base URL are correctly configured.", success?: false
expect(response).to eq error_code: "unauthorized", status_code: 404, error_description: "The request is unauthorized. Check that your API key and region api URL are correctly configured.", success?: false
end
end
end

0 comments on commit e5c4a9f

Please sign in to comment.