Closed JayLow001 closed 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.
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.