fix download (#1434)

* fix download

* update test db

* create download test
This commit is contained in:
Alex Christoffer Rasmussen
2025-01-06 20:26:06 +01:00
committed by GitHub
parent 9cfed5a150
commit 13eadeb0af
4 changed files with 425 additions and 296 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ const dbPath = `${apiEntryUrl}/db`;
* HTTP request to the current DB
*/
export function getDb(filename: string): Promise<AxiosResponse<DatabaseModel>> {
return axios.post(`${dbPath}/download/`, { filename });
return axios.post(`${dbPath}/download`, { filename });
}
/**