deps...
This commit is contained in:
parent
3c936e7860
commit
da5bbc79b4
|
@ -8,7 +8,6 @@ from resolvers.auth import (
|
||||||
get_current_user,
|
get_current_user,
|
||||||
)
|
)
|
||||||
|
|
||||||
from resolvers.migrate import markdown_body
|
|
||||||
from resolvers.editor import create_shout, delete_shout, update_shout
|
from resolvers.editor import create_shout, delete_shout, update_shout
|
||||||
from resolvers.profile import (
|
from resolvers.profile import (
|
||||||
load_authors_by,
|
load_authors_by,
|
||||||
|
@ -63,7 +62,6 @@ __all__ = [
|
||||||
"create_shout",
|
"create_shout",
|
||||||
"update_shout",
|
"update_shout",
|
||||||
"delete_shout",
|
"delete_shout",
|
||||||
"markdown_body",
|
|
||||||
# topics
|
# topics
|
||||||
"topics_all",
|
"topics_all",
|
||||||
"topics_by_community",
|
"topics_by_community",
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
from services.schema import query
|
|
||||||
from resolvers.auth import login_required
|
|
||||||
from migration.extract import extract_md
|
|
||||||
|
|
||||||
|
|
||||||
@login_required
|
|
||||||
@query.field("markdownBody")
|
|
||||||
def markdown_body(_, info, body: str):
|
|
||||||
body = extract_md(body)
|
|
||||||
return body
|
|
Loading…
Reference in New Issue
Block a user