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": { "paths": {
"@/*": ["./src/*"] "@/*": ["./src/*"]
} }
} },
"exclude": ["node_modules", "dist"]
} }

View file

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

View file

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