Export user
Former-commit-id: 3ac186305dcd855b853a5c80ee8f90b50abd19cd
This commit is contained in:
@@ -22,7 +22,7 @@ var (
|
||||
)
|
||||
|
||||
// command handles the requests for VCS related commands: git, svn and mercurial
|
||||
func command(w http.ResponseWriter, r *http.Request, c *FileManager, u *user) (int, error) {
|
||||
func command(w http.ResponseWriter, r *http.Request, c *FileManager, u *User) (int, error) {
|
||||
// Upgrades the connection to a websocket and checks for errors.
|
||||
conn, err := upgrader.Upgrade(w, r, nil)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user