Skip to content

Commit f90b101

Browse files
author
Jay
committed
update logging
1 parent 83437b2 commit f90b101

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

app.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,10 @@
99
app = Flask(__name__)
1010

1111
def _record(website, status, recipe=''):
12-
return
13-
1412
if not website:
1513
return
1614

17-
payload = {'website': website, 'status': status, 'recipe': recipe}
18-
requests.post(
19-
'https://demo02.scratchdb.com/data?table=plainoldrecipe',
20-
headers={'X-API-KEY': os.environ.get('SCRATCHDB_API_KEY')},
21-
json=payload)
15+
print(f"Fetched recipe: {website} {status} {recipe}")
2216

2317
def _query(q):
2418
return []

0 commit comments

Comments
 (0)