Add Favorite GET, and POST endpoints

This commit is contained in:
Cameron Cordes committed 2020-08-07 23:11:15 -04:00
1 parent 74043c5c6a
commit c774edd7dd
7 files changed
+86 -5

No files matched your search

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