Fix OAuth page
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ from .services.product_resolution import (create_manual, external_matches, impor
|
||||
local_matches, match_data)
|
||||
from .services.inventory_consumption import FACTORS, StockError, consume as consume_stock, preview as preview_stock, stock as stock_packages, undo as undo_stock
|
||||
|
||||
SCOPES = {'food:read', 'food:write', 'inventory:read', 'inventory:write'}
|
||||
SCOPES = {'food:read', 'food:write', 'inventory:read', 'inventory:write', 'journal:read', 'journal:write'}
|
||||
NUTRIENTS = ('calories_kcal', 'carbohydrates_g', 'protein_g', 'fat_g', 'fibre_g', 'sugars_g', 'salt_g')
|
||||
MANUAL_FIELDS = ('calories_kcal', 'carbohydrates_g', 'protein_g', 'fat_g', 'fibre_g', 'sugars_g', 'salt_g')
|
||||
MAX_IMAGE_BYTES = 5 * 1024 * 1024
|
||||
|
||||
Reference in New Issue
Block a user