Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

Commit

Permalink
api/v2: change search method
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed Mar 3, 2020
1 parent 83eee21 commit 3f6f811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v2/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,8 @@ func (api *API) setupRoutes(debug bool) error {
database := v2.Group("/database", authware...)
{
database.GET("/uploads", api.getUploadsForUser)
database.GET("/uploads/search", api.searchUploadsForUser)
database.GET("/uploads/encrypted", api.getEncryptedUploadsForUser)
database.POST("/uploads/search", api.searchUploadsForUser)
}

// frontend
Expand Down

0 comments on commit 3f6f811

Please sign in to comment.