LogicGoInfotechSpaces commited on
Commit
1f00219
·
verified ·
1 Parent(s): a30f05f

Update app/api/routes.py

Browse files
Files changed (1) hide show
  1. app/api/routes.py +2 -1
app/api/routes.py CHANGED
@@ -27,7 +27,8 @@ async def categorize_transaction(
27
  response_time=time.monotonic() - started_at,
28
  user_id=payload.user_id,
29
  )
30
- return CategorizeResponse(status="success", data=result)
 
31
  except HTTPException as exc:
32
  await api_logger.log_categorization(
33
  name="Auto Expense Categorization",
 
27
  response_time=time.monotonic() - started_at,
28
  user_id=payload.user_id,
29
  )
30
+ return CategorizeResponse(status="success", data=result,message="Logs Stored")
31
+
32
  except HTTPException as exc:
33
  await api_logger.log_categorization(
34
  name="Auto Expense Categorization",