Skip to content

Commit

Permalink
Call correct method
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Jan 28, 2025
1 parent 1ab6f58 commit e57950c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragna/deploy/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async def get_document_content(
user: UserDependency, id: uuid.UUID
) -> StreamingResponse:
schema_document = engine.get_document(user.name, id)
core_document = engine._to_core(schema_document)
core_document = engine._to_core.document(schema_document)
headers = {"Content-Disposition": f"inline; filename={schema_document.name}"}

return StreamingResponse(
Expand Down

0 comments on commit e57950c

Please sign in to comment.