Skip to content

Commit

Permalink
fix: 500
Browse files Browse the repository at this point in the history
  • Loading branch information
Leechael committed Dec 20, 2024
1 parent f381166 commit ed5ad7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcap-attestation/src/dcap_attestation/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def view(checksum: str, db: Session = Depends(get_db)):
if not row:
raise HTTPException(status_code=404, detail="Not found")
d = row.to_instance().dict()
d['uploaded_at'] = row.created_at.isoformat
d['uploaded_at'] = row.created_at.isoformat()
d['checksum'] = row.checksum
d['can_download'] = row.has_raw_quote
return JSONResponse(content=d)
Expand Down

0 comments on commit ed5ad7b

Please sign in to comment.