Skip to content

Commit 873f39d

Browse files
committed
fix download error; closes pterodactyl#39
1 parent 6e2207f commit 873f39d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Server/ServerController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function getDownloadFile(Request $request, $uuid, $file)
173173

174174
$this->authorize('download-files', $server);
175175

176-
$download = new Download;
176+
$download = new Models\Download;
177177

178178
$download->token = Uuid::generate(4);
179179
$download->server = $server->uuid;

0 commit comments

Comments
 (0)