mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 14:46:57 -05:00
parent
3f5d72709f
commit
c16f0d2a19
@ -240,6 +240,7 @@ func DeleteTopic(ctx *context.APIContext) {
|
|||||||
|
|
||||||
if topic == nil {
|
if topic == nil {
|
||||||
ctx.NotFound()
|
ctx.NotFound()
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.Status(http.StatusNoContent)
|
ctx.Status(http.StatusNoContent)
|
||||||
|
Loading…
Reference in New Issue
Block a user