wmiys / api.alpha

Api for the the backend
0 stars 0 forks source link

use the flask.g object instead of the requestGlobals class #173

Closed rrickgauer closed 2 years ago

rrickgauer commented 2 years ago

Using the RequestGlobals class is kind of useless since flask offers the flask.g object. It is essentially the same thing.

So because of this. I can remove this.

It get's created in the security module. So all I have to do is set the values in flask.g instead of the request globals object.