mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-20 20:55:18 +02:00
Fixed tests
This commit is contained in:
parent
79c84150a0
commit
2f46a175ab
@ -60,7 +60,7 @@ export async function execRequestC(sessionId: string, method: string, path: stri
|
|||||||
|
|
||||||
if (body) appContextOptions.request.body = body;
|
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;
|
if (options.query) appContextOptions.request.query = options.query;
|
||||||
|
|
||||||
const context = await koaAppContext(appContextOptions);
|
const context = await koaAppContext(appContextOptions);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user