mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 04:03:08 +00:00
bug fixed
This commit is contained in:
parent
dbdaf934e1
commit
683e58878a
1 changed files with 1 additions and 1 deletions
2
serve.go
2
serve.go
|
@ -159,7 +159,7 @@ func runServ(k *cli.Context) {
|
||||||
qlog.Fatal(err)
|
qlog.Fatal(err)
|
||||||
}
|
}
|
||||||
if !has {
|
if !has {
|
||||||
has, err = models.HasAccess(user.Name, repoPath, models.AU_WRITABLE)
|
has, err = models.HasAccess(user.Name, path.Join(repoUserName, repoName), models.AU_WRITABLE)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
println("Internal error")
|
println("Internal error")
|
||||||
qlog.Fatal(err)
|
qlog.Fatal(err)
|
||||||
|
|
Loading…
Reference in a new issue