This commit is contained in:
2026-02-05 13:49:55 +03:00
parent d4d78ba52b
commit 271fcfe54f
@@ -10,9 +10,9 @@ import kotlinx.serialization.Serializable
class SupabaseRepository { class SupabaseRepository {
/** // /**
* Получить все категории из таблицы category с подсчетом радиостанций // * Получить все категории из таблицы category с подсчетом радиостанций
*/ // */
suspend fun getCategories(): Result<List<Category>> = withContext(Dispatchers.IO) { suspend fun getCategories(): Result<List<Category>> = withContext(Dispatchers.IO) {
try { try {
val response = SupabaseClient.client val response = SupabaseClient.client