mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Change before_request to before_first_request (#56)
Change before_request to before_first_request
This commit is contained in:
parent
c42f808715
commit
b4fc721097
@ -55,8 +55,8 @@ def terms():
|
||||
def privacy():
|
||||
return render_template("privacy_policy.html.j2")
|
||||
|
||||
@app.before_request
|
||||
def before_request():
|
||||
@app.before_first_request
|
||||
def before_first_request():
|
||||
discord_api.init_discordrest()
|
||||
|
||||
@app.context_processor
|
||||
|
Loading…
Reference in New Issue
Block a user