No need to precise argument for middleware
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
61f9eba7ef
commit
d532ada3c5
@ -35,7 +35,7 @@ class Discord(Client):
|
|||||||
|
|
||||||
client = Discord()
|
client = Discord()
|
||||||
app = Quart(__name__)
|
app = Quart(__name__)
|
||||||
app.asgi_app = ProxyHeadersMiddleware(app.asgi_app, trusted_hosts="*") # type: ignore
|
app.asgi_app = ProxyHeadersMiddleware(app.asgi_app, "*") # type: ignore
|
||||||
|
|
||||||
|
|
||||||
def get_guild_by_id(guild_id: str) -> Optional[Guild]:
|
def get_guild_by_id(guild_id: str) -> Optional[Guild]:
|
||||||
|
Loading…
Reference in New Issue
Block a user