mirror of
https://github.com/photoprism/photoprism.git
synced 2025-11-01 12:42:52 +08:00
API: Improve form and tests for POST /batch/photos/edit endpoint #271
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
8
internal/api/api_methods.go
Normal file
8
internal/api/api_methods.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// MethodsPutPost defines a string slice that contains the PUT and POST request methods.
|
||||
var MethodsPutPost = []string{http.MethodPut, http.MethodPost}
|
||||
Reference in New Issue
Block a user