diff options
Diffstat (limited to 'indoteknik_api/controllers/api_v1/flash_sale.py')
| -rw-r--r-- | indoteknik_api/controllers/api_v1/flash_sale.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indoteknik_api/controllers/api_v1/flash_sale.py b/indoteknik_api/controllers/api_v1/flash_sale.py index cad2cb61..a0aaa44e 100644 --- a/indoteknik_api/controllers/api_v1/flash_sale.py +++ b/indoteknik_api/controllers/api_v1/flash_sale.py @@ -10,7 +10,7 @@ _logger = logging.getLogger(__name__) class FlashSale(controller.Controller): prefix = '/api/v1/' - @http.route(prefix + 'flashsale/header', auth='public', methods=['GET']) + @http.route(prefix + 'flashsale/header', auth='public', methods=['GET', 'OPTIONS']) @controller.Controller.must_authorized() def _get_flash_sale_header(self, **kw): try: |
