tops
This commit is contained in:
parent
ea06b61d3f
commit
d5ed469ed5
|
@ -3,6 +3,18 @@ from orm.base import global_session
|
||||||
|
|
||||||
from resolvers.base import mutation, query, subscription
|
from resolvers.base import mutation, query, subscription
|
||||||
|
|
||||||
|
@query.field("topShouts")
|
||||||
|
async def top_shouts(_, info: GraphQLResolveInfo):
|
||||||
|
# TODO: implement top shouts
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
@query.field("topAuthors")
|
||||||
|
async def top_shouts(_, info: GraphQLResolveInfo):
|
||||||
|
# TODO: implement top authors
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
# TODO: debug me
|
# TODO: debug me
|
||||||
@mutation.field("createShout")
|
@mutation.field("createShout")
|
||||||
@login_required
|
@login_required
|
||||||
|
|
Loading…
Reference in New Issue
Block a user