mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-02 16:08:31 +00:00
fix test compile
This commit is contained in:
parent
89e6298583
commit
4ae3cca6ac
3 changed files with 7 additions and 7 deletions
|
@ -82,9 +82,8 @@ func getCacheKey(remoteCommand, data string) string {
|
|||
// The POST arguments are `cmd`, `args`, `channel`, and `scope`.
|
||||
// The `scope` argument is required because no attempt is made to infer the scope from the command, unlike /cached_pub.
|
||||
func HTTPBackendUncachedPublish(w http.ResponseWriter, r *http.Request) {
|
||||
b := Backend
|
||||
r.ParseForm()
|
||||
formData, err := b.UnsealRequest(r.Form)
|
||||
formData, err := Backend.UnsealRequest(r.Form)
|
||||
if err != nil {
|
||||
w.WriteHeader(403)
|
||||
fmt.Fprintf(w, "Error: %v", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue