plan to eat importer

This commit is contained in:
vabene1111
2021-09-14 22:47:26 +02:00
parent cbb2c0460c
commit 70f96d3fe6
6 changed files with 100 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ from cookbook.integration.mealmaster import MealMaster
from cookbook.integration.nextcloud_cookbook import NextcloudCookbook
from cookbook.integration.openeats import OpenEats
from cookbook.integration.paprika import Paprika
from cookbook.integration.plantoeat import Plantoeat
from cookbook.integration.recipekeeper import RecipeKeeper
from cookbook.integration.recettetek import RecetteTek
from cookbook.integration.recipesage import RecipeSage
@@ -59,6 +60,8 @@ def get_integration(request, export_type):
return MealMaster(request, export_type)
if export_type == ImportExportBase.OPENEATS:
return OpenEats(request, export_type)
if export_type == ImportExportBase.PLANTOEAT:
return Plantoeat(request, export_type)
@group_required('user')