Repository navigation
made two new endpoints for user and one new endpoint for staff - #31
Conversation
| ) | ||
|
|
||
| # 4️⃣ Update order | ||
| pickup_code = str(random.randint(1000, 9999)) |
Check notice
Code scanning / Bandit (reported by Codacy)
Standard pseudo-random generators are not suitable for security/cryptographic purposes. Note
There was a problem hiding this comment.
Prospector (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Pylintpython3 (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Pylint (reported by Codacy) found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
now the users can update their username which the staff can see when receiving the order, when a student pays for a order they will get an otp which can later be verified by the staff