mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
ssh_keys.cc: remove shadowed params (#21184)
old-commit-hash: e772bbf7239a8f33e45310a0410a60c1d742dc29
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user