"README.md" did not exist on "097ab72e2b2b6d59fbc12bd8a2849876c38cca0e"
Commit 20c135d8 authored by Daniel Jiang's avatar Daniel Jiang Committed by GitHub
Browse files

Merge pull request #554 from ywk253100/bug_fixes

403 means the project exists, but the user has no role to it
parents 22304c10 c6f7c082
Showing with 1 addition and 1 deletion
+1 -1
......@@ -256,7 +256,7 @@ func (c *Checker) projectExist() (exist, canWrite bool, err error) {
return
}
if resp.StatusCode == http.StatusUnauthorized {
if resp.StatusCode == http.StatusForbidden {
exist = true
return
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment