Skip to content

Commit

Permalink
trying defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
tblanarik committed Sep 9, 2024
1 parent 98221d5 commit a2cf69f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions function_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ def spotbot(req: func.HttpRequest) -> func.HttpResponse:
except ValueError:
pass
else:
fullCallsign = req_body.get('fullCallsign')
source = req_body.get('source')
frequency = req_body.get('frequency')
mode = req_body.get('mode')
summitRef = req_body.get('summitRef')
wwffRef = req_body.get('wwffRef')
fullCallsign = req_body.get('fullCallsign', 'Unknown')
source = req_body.get('source', 'Unknown')
frequency = req_body.get('frequency', 'Unknown')
mode = req_body.get('mode', 'Unknown')
summitRef = req_body.get('summitRef', '')
wwffRef = req_body.get('wwffRef', '')


content = {"content": f"{fullCallsign} | {source} | freq: {frequency} | mode: {mode} | loc: {summitRef}{wwffRef}"}
Expand Down

0 comments on commit a2cf69f

Please sign in to comment.