Adding constant for endpoint
This commit is contained in:
@@ -14,6 +14,8 @@ pub mod endpoints {
|
|||||||
pub const ADD_MESSAGE: &str = "/api/v1/message/new";
|
pub const ADD_MESSAGE: &str = "/api/v1/message/new";
|
||||||
/// Constant for getting messages endpoint
|
/// Constant for getting messages endpoint
|
||||||
pub const GET_MESSAGE: &str = "/api/v1/message";
|
pub const GET_MESSAGE: &str = "/api/v1/message";
|
||||||
|
/// Constant for scheduling message endpoint
|
||||||
|
pub const SCHEDULE_MESSAGE: &str = "api/v1/schedule/message";
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod response {
|
pub mod response {
|
||||||
|
|||||||
Reference in New Issue
Block a user