Format MealieDataSourceImpl

This commit is contained in:
Kirill Kamakin
2022-08-07 12:47:09 +02:00
parent 9d8d07fb49
commit 72a0a286ff

View File

@@ -54,8 +54,7 @@ class MealieDataSourceImpl @Inject constructor(
override suspend fun requestRecipes( override suspend fun requestRecipes(
baseUrl: String, token: String?, start: Int, limit: Int baseUrl: String, token: String?, start: Int, limit: Int
): List<GetRecipeSummaryResponse> = ): List<GetRecipeSummaryResponse> = makeCall(
makeCall(
block = { getRecipeSummary("$baseUrl/api/recipes/summary", token, start, limit) }, block = { getRecipeSummary("$baseUrl/api/recipes/summary", token, start, limit) },
logMethod = { "requestRecipes" }, logMethod = { "requestRecipes" },
logParameters = { "baseUrl = $baseUrl, token = $token, start = $start, limit = $limit" } logParameters = { "baseUrl = $baseUrl, token = $token, start = $start, limit = $limit" }