1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-20 20:55:18 +02:00

Fixed tests

This commit is contained in:
Laurent Cozic 2022-12-18 16:38:18 +00:00
parent 79c84150a0
commit 2f46a175ab

View File

@ -60,7 +60,7 @@ export async function execRequestC(sessionId: string, method: string, path: stri
if (body) appContextOptions.request.body = body;
if (options.filePath) appContextOptions.request.files = { file: { path: options.filePath } };
if (options.filePath) appContextOptions.request.files = { file: { filepath: options.filePath } };
if (options.query) appContextOptions.request.query = options.query;
const context = await koaAppContext(appContextOptions);