Add Favorite GET, and POST endpoints

This commit is contained in:
Cameron Cordes
2020-08-07 22:56:29 -04:00
parent 74043c5c6a
commit c774edd7dd
7 changed files with 86 additions and 5 deletions

View File

@@ -79,3 +79,8 @@ pub struct CreateAccountRequest {
pub password: String,
pub confirmation: String,
}
#[derive(Deserialize)]
pub struct AddFavoriteRequest {
pub path: String,
}