Fix inability to download files from the panel; closes #3151

Co-Authored-By: xcgc <74693042+xcgc@users.noreply.github.com>
This commit is contained in:
Dane Everitt 2021-03-07 09:45:27 -08:00
parent 7e0efbdecd
commit 1476104b30
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 15 additions and 10 deletions

View file

@ -47,7 +47,7 @@ class DownloadLinkService
])
->handle($backup->server->node, $user->id . $backup->server->uuid);
return sprintf('%s/download/backup?token=%s', $backup->server->node->getConnectionAddress(), $token->__toString());
return sprintf('%s/download/backup?token=%s', $backup->server->node->getConnectionAddress(), $token->toString());
}
/**