No need to precise argument for middleware
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Michel Roux 2022-09-08 17:13:56 +00:00
parent 61f9eba7ef
commit d532ada3c5

View File

@ -35,7 +35,7 @@ class Discord(Client):
client = Discord()
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]: