Fix /queue endpoint method
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f8298cb6a5
commit
bf54e459b6
|
@ -174,7 +174,7 @@ func main() {
|
||||||
}
|
}
|
||||||
case "queue":
|
case "queue":
|
||||||
if len(pathSegments) == 2 {
|
if len(pathSegments) == 2 {
|
||||||
if request.Method != "POST" {
|
if request.Method != "GET" {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var blobs = make([]map[string]interface{}, 0, 1)
|
var blobs = make([]map[string]interface{}, 0, 1)
|
||||||
|
|
Loading…
Reference in a new issue