to do: auth functioning, now start building features

This commit is contained in:
Mikayla Dobson
2022-11-23 16:18:34 -06:00
parent 1bde93d019
commit 1445245d60
2 changed files with 13 additions and 0 deletions

View File

@@ -17,6 +17,14 @@ export class Recipe {
}
}
async getAllByUserID(id: string) {
try {
// to do: use setupbrowser.sql to setup the recipe browser
} catch (e: any) {
throw new Error(e);
}
}
async updateOneByID(id: string, data: IRecipe) {
const { name, description, preptime } = data;
try {