Adding a note to contact us for more API calls (#2858)

this should make it clearer to people that they can get more API capacity when they encounter the "Too many API requests" error
pull/2861/head
Marko Saric 4 years ago committed by GitHub
parent b8e96b948f
commit 586bbeb8ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ defmodule PlausibleWeb.AuthorizeStatsApiPlug do
{:error, :rate_limit, limit} ->
H.too_many_requests(
conn,
"Too many API requests. Your API key is limited to #{limit} requests per hour."
"Too many API requests. Your API key is limited to #{limit} requests per hour. Please contact us to request more capacity."
)
{:error, :invalid_api_key} ->

Loading…
Cancel
Save