Skip to content

Commit

Permalink
FINAL
Browse files Browse the repository at this point in the history
  • Loading branch information
water-korra committed Jan 10, 2022
1 parent ca7c88c commit d471461
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/controllers/Controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
const db = require('../../database/db');
const tokenService = require('../service/token-service');

// const parser = require('../service/parser-service');
// const jsonData = require('../../parser/data/recipes.json');
// parser.addRecipesFromParcer(jsonData);
const parser = require('../service/parser-service');
const jsonData = require('../../parser/data/recipes.json');
parser.addRecipesFromParcer(jsonData);

class Controller {
async addRecipe(req, res) {
Expand Down

0 comments on commit d471461

Please sign in to comment.