This commit is contained in:
hay-kot 2021-03-29 15:07:56 -08:00
commit f386ee8254
3 changed files with 7 additions and 3 deletions

View file

@ -4,5 +4,6 @@
"paths": {
"@/*": ["./src/*"]
}
}
},
"exclude": ["node_modules", "dist"]
}

View file

@ -12,6 +12,9 @@ import signUps from "./signUps";
import groups from "./groups";
import siteSettings from "./siteSettings";
/**
* The main object namespace for interacting with the backend database
*/
export const api = {
recipes: recipe,
siteSettings: siteSettings,

View file

@ -21,8 +21,8 @@ const recipeURLs = {
export default {
/**
* Create a Recipe by URL
* @param {String} recipeURL
* @returns {String} Recipe Slug
* @param {string} recipeURL
* @returns {string} Recipe Slug
*/
async createByURL(recipeURL) {
let response = await apiReq.post(recipeURLs.createByURL, {