Describe the bug
QR Scanner was making 2 requests per scan to the DB (maybe fixed now but double check)
To Reproduce
Steps to reproduce the behavior:
Open the scanner and scan a QR code
Insert a print statement to ensure how many requests we're making per scan
Expected behavior
Should only make 1 request per QR code scan
Additional context
We might implement the BloC pattern for QR Scanner so do research on Flutter BloC and implement it so we could avoid this kind of bugs.
Describe the bug QR Scanner was making 2 requests per scan to the DB (maybe fixed now but double check)
To Reproduce Steps to reproduce the behavior:
Expected behavior Should only make 1 request per QR code scan
Additional context We might implement the BloC pattern for QR Scanner so do research on Flutter BloC and implement it so we could avoid this kind of bugs.