app / com.ocean.ishareeconomy_android.repositories / UserRepository / refreshUsers

refreshUsers

suspend fun refreshUsers(id: String, auth: String): Unit

Method that makes a network GET call to fetch the total list of User, starting with the logged in, User, ordered by User.distance and store it in the DB

Parameters

id - : String the logged in user id

auth - : String the logged in user's auth token

Return
Unit