From 63c1fa1137d49ede89950716fc2eddbcb6485801 Mon Sep 17 00:00:00 2001 From: shockrah Date: Wed, 17 Jun 2020 12:38:33 -0700 Subject: [PATCH] new static route string for /message/send --- server/src/routes.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/routes.rs b/server/src/routes.rs index eaa9732..b70244b 100644 --- a/server/src/routes.rs +++ b/server/src/routes.rs @@ -2,4 +2,6 @@ pub const INVITE_JOIN: &'static str = "/invite/join"; // requires @code pub const INVITE_CREATE: &'static str = "/invite/create"; // requires none pub const CHANNELS_LIST: &'static str = "/channels/list"; // requires none -pub const CHANNELS_CREATE: &'static str = "/channels/create"; // requires @name @description \ No newline at end of file +pub const CHANNELS_CREATE: &'static str = "/channels/create"; // requires @name @description + +pub const MESSAGE_SEND: &'static str = "/messsage/send"; // requires @content \ No newline at end of file