Closed MystPi closed 2 years ago
wait how did I approve it
Any updates? Sorry if I seem impatient—I'm just curious about how you feel about this.
we are wasting time by requesting to your aviate api. just implement it in ocular its not hard
and also if you use main branch that's a big nono
Whoops, I forgot. @jeffalo isn't integrating Aviate with Ocular anyway, so it doesn't really matter.
For every request to
/api/user/:user
, first check if the user has an Aviate status. If they do, use their Aviate status, otherwise use their ocular status.I also moved
let allUsers = await users.find()
to inside of theelse if
statement to speed up the code a bit.