Fix /queue endpoint method
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DataHoarder 2022-03-02 20:06:22 +01:00
parent f8298cb6a5
commit bf54e459b6

View file

@ -174,7 +174,7 @@ func main() {
}
case "queue":
if len(pathSegments) == 2 {
if request.Method != "POST" {
if request.Method != "GET" {
return
}
var blobs = make([]map[string]interface{}, 0, 1)