Skip to content

Commit 9316acd

Browse files
authored
Fixed route name
1 parent 7175af5 commit 9316acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aiohttp_graphql/graphqlview.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def process_preflight(self, request):
199199
return web.Response(status=400)
200200

201201
@classmethod
202-
def attach(cls, app, *, route_path='/graphql', route_name='grqphql',
202+
def attach(cls, app, *, route_path='/graphql', route_name='graphql',
203203
**kwargs):
204204
view = cls(**kwargs)
205205
app.router.add_route('*', route_path, view, name=route_name)

0 commit comments

Comments
 (0)