Add GET endpoint for /glory
This commit is contained in:
parent
3a57a537d1
commit
a5fdedce46
@ -1,6 +1,5 @@
|
||||
# Entity: Glory
|
||||
|
||||
```python
|
||||
from fastapi import APIRouter, Depends, HTTPException, status
|
||||
from sqlalchemy.orm import Session
|
||||
from typing import List
|
||||
@ -18,4 +17,3 @@ async def get_glory_records(
|
||||
"""Get all glory records"""
|
||||
glory_records = get_all_glory_records(db)
|
||||
return glory_records
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user