Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Refactor: Update Inventory and process_order to use numerical IDs #17

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seer-by-sentry[bot]
Copy link

@seer-by-sentry seer-by-sentry bot commented Jun 5, 2025

Fixes ANDROID-19. The issue was that: Flask inventory for item ID 3 insufficient, causing "Not enough inventory" exception, leading to 500 error, triggering Android exception.

  • Updated the Inventory dictionary to use numerical IDs instead of string keys.
  • Modified the process_order function to handle numerical IDs when checking inventory and updating stock.
  • Added more example products to the inventory.

This fix was generated by Seer in Sentry, triggered by [email protected]. 👁️ Run ID: 60738

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants