mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Removed redundant vote code
This commit is contained in:
parent
b1865b2318
commit
5153d49ad7
4 changed files with 0 additions and 91 deletions
|
@ -91,7 +91,6 @@ func RegisterEndpoints(rt *env.Runtime, s *store.Store) {
|
|||
AddPublic(rt, "reset/{token}", []string{"POST", "OPTIONS"}, nil, user.ResetPassword)
|
||||
AddPublic(rt, "share/{spaceID}", []string{"POST", "OPTIONS"}, nil, space.AcceptInvitation)
|
||||
AddPublic(rt, "attachments/{orgID}/{attachmentID}", []string{"GET", "OPTIONS"}, nil, attachment.Download)
|
||||
AddPublic(rt, "document/{documentID}/vote", []string{"POST", "OPTIONS"}, nil, document.Vote)
|
||||
|
||||
//**************************************************
|
||||
// Secured private routes (require authentication)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue