SCCapstone / hackstreetboys

https://fridger.recipes
1 stars 0 forks source link

Beta fixes #180

Closed ceboozer closed 2 years ago

jtschuler commented 2 years ago

I've added the authorization headers, but may want to add error handling for HTTP 401 responses in AdvancedRecipeSearch.tsx and ReviewOfRecipe.tsx:

axios.{delete/put/post}( ... ).then( response => { ... }).catch( e => { // This is where you would handle a 401. Probably just redirect to the login page });

ceboozer commented 2 years ago

That isn't my file...I talked to Quinn and he doesn't think it's being used right now anyway.

ceboozer commented 2 years ago

ReviewOfRecipe I will take a look at!

afrederiksen commented 2 years ago

We can delete the file AdvancedRecipeSearch.tsx as we've combined it with the recipes.tsx

ceboozer commented 2 years ago

@jtschuler @afrederiksen please re-check :)

afrederiksen commented 2 years ago

Merge whenever you're ready @ceboozer