ssh_keys.cc: remove shadowed params (#21184)

old-commit-hash: e772bbf7239a8f33e45310a0410a60c1d742dc29
This commit is contained in:
Dean Lee
2021-06-08 16:57:46 +08:00
committed by GitHub
parent 585d98a464
commit 33d48d8139
-1
View File
@@ -61,7 +61,6 @@ void SshControl::getUserKeys(const QString &username) {
HttpRequest *request = new HttpRequest(this, "https://github.com/" + username + ".keys", "", false);
QObject::connect(request, &HttpRequest::receivedResponse, [=](const QString &resp) {
if (!resp.isEmpty()) {
Params params;
params.put("GithubUsername", username.toStdString());
params.put("GithubSshKeys", resp.toStdString());
} else {