diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..6c31bdd --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: ['https://www.buymeacoffee.com/codingalecr'] diff --git a/lib/http_client_with_interceptor.dart b/lib/http_client_with_interceptor.dart index 0ad89e5..541054c 100644 --- a/lib/http_client_with_interceptor.dart +++ b/lib/http_client_with_interceptor.dart @@ -136,7 +136,7 @@ class HttpClientWithInterceptor extends http.BaseClient { paramUrl += "$key=$value&"; }); paramUrl = paramUrl.substring( - 0, paramUrl.length); // to remove the last '&' character + 0, paramUrl.length - 1); // to remove the last '&' character } var requestUrl = Uri.parse(paramUrl);