File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"""Python° - FastAPI, Postgres, tsvector"""
22
33# Current Version
4- __version__ = "3.0.5 "
4+ __version__ = "3.0.6 "
Original file line number Diff line number Diff line change 1010@router .post ("/queue/csv/apollo" )
1111def import_apollo_csv () -> dict :
1212 """POST /queue/csv/apollo: Import data from apollo.csv into the queue table (template)."""
13- csv_path = os .path .join (os .path .dirname (__file__ ), "../csv/apollo/sample .csv" )
13+ csv_path = os .path .join (os .path .dirname (__file__ ), "../csv/apollo/apollo-3 .csv" )
1414 if not os .path .exists (csv_path ):
15- raise HTTPException (status_code = 404 , detail = "sample. csv not found" )
15+ raise HTTPException (status_code = 404 , detail = "csv not found" )
1616 try :
1717 conn = get_db_connection_direct ()
1818 cursor = conn .cursor ()
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def goldlabel_email(
5959 .email-header-inner {{ background-color: { _DARK_BG } !important; }}
6060 .email-footer {{ background-color: { _DARK_BG } !important; color: { _DARK_TEXT } !important; }}
6161 .email-subject {{ color: { _DARK_PRIMARY } !important; }}
62- .email-cta {{ background-color: { _DARK_PRIMARY } !important; color: { _DARK_BG } !important; }}
62+ .email-cta {{ background-color: { _DARK_PRIMARY } !important; color: { _LIGHT_PRIMARY } !important; }}
6363 a {{ color: { _DARK_PRIMARY } !important; }}
6464 }}
6565 </style>
@@ -119,7 +119,7 @@ def goldlabel_email(
119119 <a class="email-cta"
120120 href="{ cta_url } "
121121 style="display:block; width:100%; box-sizing:border-box;
122- background-color:{ _LIGHT_PRIMARY } ; color:#ffffff ;
122+ background-color:{ _DARK_PRIMARY } ; color:{ _LIGHT_PRIMARY } ;
123123 font-size:16px; font-weight:700; text-align:center;
124124 text-decoration:none; border-radius:6px;
125125 padding:14px 20px;">
Original file line number Diff line number Diff line change @@ -13,8 +13,11 @@ def test_resend_post_email(monkeypatch):
1313
1414 payload = {
1515 "to" : 'listingslab@gmail.com' ,
16- "subject" : "pytest" ,
17- "html" : "Python tests have run"
16+ "subject" : "Python°" ,
17+ "html" : "pytest run successfully" ,
18+ "cta_label" : "NX° Admin" ,
19+ "cta_url" : "https://nx-admin.goldlabel.pro" ,
20+
1821 }
1922 response = client .post ("/resend" , json = payload )
2023 assert response .status_code == 202
You can’t perform that action at this time.
0 commit comments