[dart][dart-dio] Allow API key authentication with multiple API keys (#8728)

Remove the break stopping after the first key.
This commit is contained in:
Peter Leibiger
2021-02-17 14:40:27 +01:00
committed by GitHub
parent 55292dd22b
commit 7704ff3d08
4 changed files with 0 additions and 4 deletions

View File

@@ -20,7 +20,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor {
} else {
options.headers[authKeyName] = apiKey;
}
break;
}
}
return super.onRequest(options);

View File

@@ -26,7 +26,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor {
} else {
options.headers[authKeyName] = apiKey;
}
break;
}
}
return super.onRequest(options);

View File

@@ -26,7 +26,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor {
} else {
options.headers[authKeyName] = apiKey;
}
break;
}
}
return super.onRequest(options);

View File

@@ -26,7 +26,6 @@ class ApiKeyAuthInterceptor extends AuthInterceptor {
} else {
options.headers[authKeyName] = apiKey;
}
break;
}
}
return super.onRequest(options);