Fix archiving and unarchiving functionality.
This commit is contained in:
@@ -71,7 +71,7 @@ func RegisterAccountRoutes(app *bootstrap.App) {
|
||||
messages.POST("/send", msgH.SendPost)
|
||||
messages.GET("/archive", msgH.ArchivedList) // view archived messages
|
||||
messages.POST("/archive", msgH.ArchivePost) // archive a message
|
||||
messages.POST("/restore", msgH.RestorePost)
|
||||
messages.POST("/restore", msgH.RestoreArchived)
|
||||
}
|
||||
|
||||
// Notifications (auth-required)
|
||||
|
||||
Reference in New Issue
Block a user