mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 20:16:20 +01:00
parent
3f5d72709f
commit
c16f0d2a19
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue