Permalink
Browse files

dbhub: Use URL returned by server

  • Loading branch information...
MKleusberg committed Oct 5, 2017
1 parent d738597 commit 24ee209befa24d0ac6c1499f3f327c252a545cea
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/RemoteDatabase.cpp
@@ -220,7 +220,7 @@ void RemoteDatabase::gotReply(QNetworkReply* reply)
QJsonObject obj = json.object();

// Create or update the record in our local checkout database
QString saveFileAs = localAdd(reply->url().fileName(), reply->property("certfile").toString(), reply->url(), obj["commit_id"].toString());
QString saveFileAs = localAdd(reply->url().fileName(), reply->property("certfile").toString(), obj["url"].toString(), obj["commit_id"].toString());

// If the name of the source file and the name we're saving as differ, we're doing an initial push. In this case, copy the source file to
// the destination path to avoid redownloading it when it's first used.

0 comments on commit 24ee209

Please sign in to comment.