hejare / jaws

The Frontend (and more) microservice for Sharkster
0 stars 2 forks source link

Set current user as userRef on a trade #166

Closed JayLow001 closed 1 year ago

JayLow001 commented 1 year ago

It would be nice to do this verification in a middleware. It seems like we can't use firebase admin in the middleware though, weird...

Anyhow, this will solve the issue of getting the current user's email as userRef for the trades.