Skip to content
Snippets Groups Projects
Commit 7a3648c4 authored by Felipe D'Abrantes's avatar Felipe D'Abrantes
Browse files

Create skeleton code for fetching user's friends

parent 60a1bcc0
No related branches found
No related tags found
1 merge request!14Add endpoints to manage Dailies
package models
import org.bson.types.ObjectId
import scala.concurrent.Future
import scala.concurrent.ExecutionContext.Implicits.global
object User {
def getUserFriends(userId: ObjectId): Future[Seq[ObjectId]] = {
// TODO: Fetch user friends from Friend Service
val friends: Seq[ObjectId] = Seq(new ObjectId("641128f7e80bcd1ba39d04af"))
Future.successful(friends)
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment