Fix table test.

This commit is contained in:
Sam Rose 2024-03-04 09:20:32 +00:00
parent 678ce98830
commit 89a03af92a
No known key found for this signature in database
1 changed files with 7 additions and 4 deletions

View File

@ -125,10 +125,13 @@ export class RowAPI extends TestAPI {
body: BulkImportRequest,
expectations?: Expectations
): Promise<BulkImportResponse> => {
return await this._post<BulkImportResponse>(`/api/${tableId}/rows/import`, {
body,
expectations,
})
return await this._post<BulkImportResponse>(
`/api/tables/${tableId}/import`,
{
body,
expectations,
}
)
}
search = async (