Add GET endpoint for /glory

This commit is contained in:
Backend IM Bot 2025-03-27 21:25:45 +00:00
parent 3a57a537d1
commit a5fdedce46

View File

@ -1,6 +1,5 @@
# Entity: Glory # Entity: Glory
```python
from fastapi import APIRouter, Depends, HTTPException, status from fastapi import APIRouter, Depends, HTTPException, status
from sqlalchemy.orm import Session from sqlalchemy.orm import Session
from typing import List from typing import List
@ -17,5 +16,4 @@ async def get_glory_records(
): ):
"""Get all glory records""" """Get all glory records"""
glory_records = get_all_glory_records(db) glory_records = get_all_glory_records(db)
return glory_records return glory_records
```