-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
According to the documentation the function for performing a standard search is nutritionix.search.standard()
, but this does not exist as far as I can tell and throws a TypeError
=== UNHANDLED REJECTION === TypeError: nutritionix.search.standard is not a function at [REMOVED]
The actual function is nutritionix.search()
This is under the assumption that nutritionix
is initialized as follows:
var NutritionixClient = require('nutritionix'); var nutritionix = new NutritionixClient({ appId: '[REMOVED]', appKey: '[REMOVED]', debug: true });
as stated in the documentation
This can be solved by either changing the code or documentation so they are in agreement on which function is used.
Metadata
Metadata
Assignees
Labels
No labels