add authAdminMiddlware into package auth. Need test it
This commit is contained in:
@@ -24,4 +24,4 @@ func GetAllUser(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
w.Write([]byte(jsData))
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user