We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 542cec9 commit 689770cCopy full SHA for 689770c
routers/web/org/projects.go
@@ -193,7 +193,7 @@ func DeleteProject(ctx *context.Context) {
193
}
194
return
195
196
- if p.RepoID != ctx.Repo.Repository.ID {
+ if p.OwnerID != ctx.ContextUser.ID {
197
ctx.NotFound("", nil)
198
199
@@ -226,7 +226,7 @@ func EditProject(ctx *context.Context) {
226
227
228
229
230
231
232
@@ -261,7 +261,7 @@ func EditProjectPost(ctx *context.Context) {
261
262
263
264
265
266
267
0 commit comments