Commit e269e89
Fix incorrect NotFound conditions in org/projects.go (go-gitea#23384) (go-gitea#23395)
Backport go-gitea#23384
A part of go-gitea#22865
user/org project's `RepoID` is always 0, we need to check `OwnerID`
Co-authored-by: yp05327 <[email protected]>1 parent 87c31c2 commit e269e89
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
229 | | - | |
| 229 | + | |
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
| 263 | + | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| |||
0 commit comments