Fix logging method name

This commit is contained in:
Kirill Kamakin
2022-10-29 19:46:33 +02:00
parent 5d99b0ee96
commit 3d267f319f

View File

@@ -54,7 +54,7 @@ class MealieDataSourceV1Impl @Inject constructor(
perPage: Int perPage: Int
): List<GetRecipeSummaryResponseV1> = networkRequestWrapper.makeCallAndHandleUnauthorized( ): List<GetRecipeSummaryResponseV1> = networkRequestWrapper.makeCallAndHandleUnauthorized(
block = { service.getRecipeSummary("$baseUrl/api/recipes", token, page, perPage) }, block = { service.getRecipeSummary("$baseUrl/api/recipes", token, page, perPage) },
logMethod = { "requestRecipesV1" }, logMethod = { "requestRecipes" },
logParameters = { "baseUrl = $baseUrl, token = $token, page = $page, perPage = $perPage" } logParameters = { "baseUrl = $baseUrl, token = $token, page = $page, perPage = $perPage" }
).items ).items