fix(fastapi): pass request type's name to Request*Notification
Compare changes
Files
2+ 1
− 8
@@ -17,14 +17,7 @@ class RequestType(Base):
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
Previously, we passed the straight up request type instance from SQLAlchemy and had a .title() function that was transparently treating the instance the same as the instance's Name in terms of notify.py's use of it.
This commit removes that transparent behavior; it was not actually intended.
Signed-off-by: Kevin Morris kevr@0cost.org