Adding code for endpoint to update contact

This commit is contained in:
2026-06-15 22:32:10 -04:00
parent a226adcd0f
commit 37bce752ff
5 changed files with 334 additions and 180 deletions
+2
View File
@@ -7,6 +7,8 @@ pub mod endpoints {
pub const ADD_CONTACT: &str = "/api/v1/contact/new";
/// Constant for getting Contact endpoint
pub const GET_CONTACT: &str = "/api/v1/contact";
/// Constant for updating names of a Contact endpoint
pub const UPDATE_CONTACT_NAME: &str = "/api/v1/contact/new";
}
pub mod response {