Register notification routes, add action method for notifications, and fix auto-featuring versions

This commit is contained in:
Jai A
2021-03-06 13:47:49 -07:00
parent 0ccb6cb873
commit 853ead26ca
9 changed files with 222 additions and 192 deletions

View File

@@ -23,5 +23,6 @@ pub struct Notification {
#[derive(Serialize, Deserialize)]
pub struct NotificationAction {
pub title: String,
pub action_route: String,
/// The route to call when this notification action is called. Formatted HTTP Method, route
pub action_route: (String, String),
}