From a5fdedce465e8a3af3d6f3b702e2d6bdd3eb59e1 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Thu, 27 Mar 2025 21:25:45 +0000 Subject: [PATCH] Add GET endpoint for /glory --- endpoints/glory.get.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/endpoints/glory.get.py b/endpoints/glory.get.py index 0eb670b..8e56754 100644 --- a/endpoints/glory.get.py +++ b/endpoints/glory.get.py @@ -1,6 +1,5 @@ # Entity: Glory -```python from fastapi import APIRouter, Depends, HTTPException, status from sqlalchemy.orm import Session from typing import List @@ -17,5 +16,4 @@ async def get_glory_records( ): """Get all glory records""" glory_records = get_all_glory_records(db) - return glory_records -``` \ No newline at end of file + return glory_records \ No newline at end of file