Skip to content

Commit

Permalink
Bugfix: Name and ID code mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
developerfromjokela committed Feb 16, 2022
1 parent 8e6624c commit 5b50960
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foodmenu",
"version": "1.0.9.2",
"version": "1.0.9.3",
"description": "This API provides additional food menus which are not available as JSON.\nThis middleware converts them to JSON format.",
"main": "build/main.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/aromiv2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export async function parseRSSFeed(content: any, callback: (content: Day[]|undef
let split = subItem.split(':');
let name = split[0].trim();
let value = split[1].trimStart();
tempMenuList.push(new Menu(name, [new Meal(value, HashUtils.sha1Digest(name+'_'+id))]))
tempMenuList.push(new Menu(name, [new Meal(HashUtils.sha1Digest(name+'_'+id), value)]))
}
// Parse date
if (title.match(dateRegex)) {
Expand Down

0 comments on commit 5b50960

Please sign in to comment.