flux-eco / flux-eco-ehf-app-backend

1 stars 0 forks source link

list of registered ambassador sessions #9

Open mstuder opened 1 year ago

mstuder commented 1 year ago

please enhance the mock data - profil.json - with registeredAmbassadorSessions: []

{
  "talents": 20,
  "uncompletedTrainingSessions": ["anti-doping"],
  "completedTrainingSessions": [],
  "upcomingAmbassadorSessions": ["meetJohn"],
  "registeredAmbassadorSessions": [],
  "group": "trainee"
}
nikola-oblak commented 1 year ago

I think the list called upcomingAmbassadorSessions is actually what we need. So it is not necessary to add a new list of registeredAmbassadorSessions.

And just one small notice, in the list completedTrainingSessions, need to be IDs of the training sessions. Also, I think then we will need one additional call to we can request training session objects based on ID. And also the same additional request for the ambassador session, because in the list upcomingAmbassadorSessions we will get only IDs.