Remove fetchEnriched

This commit is contained in:
Adria Navarro 2024-10-24 11:17:31 +02:00
parent 8466f8883c
commit 9c9d2560b2
2 changed files with 1 additions and 12 deletions

View File

@ -958,7 +958,7 @@ describe("/rowsActions", () => {
// document was not being cleaned up. This meant there existed code paths
// that would find it and try to reference the tables within it, resulting
// in errors.
await config.api.automation.fetchEnriched({
await config.api.automation.fetch({
status: 200,
})
})

View File

@ -23,17 +23,6 @@ export class AutomationAPI extends TestAPI {
})
}
fetchEnriched = async (
expectations?: Expectations
): Promise<FetchAutomationResponse> => {
return await this._get<FetchAutomationResponse>(
`/api/automations?enrich=true`,
{
expectations,
}
)
}
post = async (
body: Automation,
expectations?: Expectations