Skip to content

Commit ef9c98a

Browse files
Merge pull request #86 from goldlabelapps/staging
Bump version; update LinkedIn response and CORS
2 parents c9be028 + 877983c commit ef9c98a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Python - FastAPI, Postgres, tsvector"""
22

33
# Current Version
4-
__version__ = "2.2.3"
4+
__version__ = "2.2.4"

app/api/prompt/linkedin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,12 @@ def linkedin_prompt_success(payload: dict, api_key: str = Depends(get_api_key))
8484
"meta": make_meta("success", "LinkedIn URL already analysed"),
8585
"data": {
8686
"cached": True,
87-
"id": row[0],
87+
"prompt_id": row[0],
8888
"linkedin_url": linkedin_url,
8989
"prompt": row[1],
9090
"completion": row[2],
9191
"time": row[3].isoformat() if row[3] else None,
9292
"model": row[4],
93-
"record_data": row[5],
9493
},
9594
}
9695

app/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
CORSMiddleware,
1818
allow_origins=[
1919
"http://localhost:1999",
20+
"http://localhost:2027",
2021
"https://goldlabel.pro",
2122
"https://free.goldlabel.pro",
2223
],

0 commit comments

Comments
 (0)