Add GET endpoint for /glory
This commit is contained in:
parent
3a57a537d1
commit
a5fdedce46
@ -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
|
||||||
@ -18,4 +17,3 @@ 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
|
||||||
```
|
|
Loading…
x
Reference in New Issue
Block a user