always return content type application/json
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m36s
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
Run pytests / Check-Pytest (push) Successful in 10s
All checks were successful
Build RPi Pico firmware image / Build-Firmware (push) Successful in 4m36s
Check code formatting / Check-C-Format (push) Successful in 7s
Check code formatting / Check-Python-Flake8 (push) Successful in 10s
Check code formatting / Check-Bash-Shellcheck (push) Successful in 5s
Run unit tests on host / Run-Unit-Tests (push) Successful in 8s
Run pytests / Check-Pytest (push) Successful in 10s
This commit is contained in:
@@ -71,4 +71,4 @@ async def config_put(request):
|
|||||||
@webapp.route('/api/v1/last_tag_uid', methods=['GET'])
|
@webapp.route('/api/v1/last_tag_uid', methods=['GET'])
|
||||||
async def last_tag_uid_get(request):
|
async def last_tag_uid_get(request):
|
||||||
tag, _ = nfc.get_last_uid()
|
tag, _ = nfc.get_last_uid()
|
||||||
return "No tag present" if tag is None else tag
|
return {'tag': tag}
|
||||||
|
|||||||
Reference in New Issue
Block a user