remove erroneous params key

This commit is contained in:
Michael Genson 2025-07-10 16:39:25 +00:00
commit 3b9672bac1

View file

@ -219,10 +219,7 @@ export class RecipeAPI extends BaseCRUDAPI<CreateRecipe, Recipe, Recipe> {
async getAllTimelineEvents(page = 1, perPage = -1, params = {} as any) {
return await this.requests.get<PaginationData<RecipeTimelineEventOut>>(
routes.recipesTimelineEvent,
{
params: { page, perPage, ...params },
},
routes.recipesTimelineEvent, { page, perPage, ...params },
);
}