Skip to content
Snippets Groups Projects
Commit 162a4320 authored by Leonard Knirsch's avatar Leonard Knirsch
Browse files

update report url of vmp

parent 1f04c366
No related branches found
No related tags found
1 merge request!4update report url of vmp
......@@ -54,7 +54,7 @@ class VmpID(IdProvider):
# @return True if it worked, False otherwise
def report(self, rfid: int) -> bool:
# request: return res == 1 if everything worked
url = "/beer/record/?rfid={}&slot=1".format(rfid)
url = "/beer/record/?rfid={}&machine=cab".format(rfid)
res = self.__getRequest(url)
return int(res) == 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment