This commit is contained in:
Tony Rewin 2023-10-05 23:25:52 +03:00
parent 3c936e7860
commit da5bbc79b4
2 changed files with 0 additions and 12 deletions

View File

@ -8,7 +8,6 @@ from resolvers.auth import (
get_current_user,
)
from resolvers.migrate import markdown_body
from resolvers.editor import create_shout, delete_shout, update_shout
from resolvers.profile import (
load_authors_by,
@ -63,7 +62,6 @@ __all__ = [
"create_shout",
"update_shout",
"delete_shout",
"markdown_body",
# topics
"topics_all",
"topics_by_community",

View File

@ -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