Skip to content

Commit

Permalink
fixed styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinrczhang committed Jan 23, 2024
1 parent 53c9e76 commit 0613d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/vehicle/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def get(self, request):
vehicles = bidder.saved_list.all()
serialized_data = VehicleSerializer(vehicles, many=True)
return Response(serialized_data.data)
except Exception as e:
except Exception:
return Response("Bidder not found")

def post(self, request):
Expand All @@ -138,5 +138,5 @@ def post(self, request):

bidder.saved_list.add(vehicle)
return Response("Unit added successfully")
except Exception as e:
except Exception:
return Response("Bidder or vehicle not found")

0 comments on commit 0613d2f

Please sign in to comment.