start reports/moderation in backend
This commit is contained in:
parent
41edaee8ea
commit
33f903b07d
8 changed files with 136 additions and 2 deletions
13
backend/routes/mod/get_reports.go
Normal file
13
backend/routes/mod/get_reports.go
Normal file
|
@ -0,0 +1,13 @@
|
|||
package mod
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func (s *Server) getReports(w http.ResponseWriter, r *http.Request) error {
|
||||
showClosed := r.FormValue("closed") == "true"
|
||||
|
||||
fmt.Println("closed =", showClosed)
|
||||
return nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue