Adding code for endpoint to update contact
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user