Browse Source

bug fixed

pull/40/head
Lunny Xiao 11 years ago
parent
commit
8c63169718
  1. 1
      serve.go

1
serve.go

@ -131,7 +131,6 @@ func runServ(k *cli.Context) {
// access check // access check
switch { switch {
case isWrite: case isWrite:
println(user.Name, repoName, models.AU_WRITABLE)
has, err := models.HasAccess(user.Name, repoName, models.AU_WRITABLE) has, err := models.HasAccess(user.Name, repoName, models.AU_WRITABLE)
if err != nil { if err != nil {
println("Inernel error:", err) println("Inernel error:", err)

Loading…
Cancel
Save