added return to browsers
This commit is contained in:
@@ -12,6 +12,7 @@ func (con ServersApi) GetBrowsers(ctx *gin.Context) {
|
|||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.AbortWithError(500, err)
|
ctx.AbortWithError(500, err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.JSON(200, fileBrowsers)
|
ctx.JSON(200, fileBrowsers)
|
||||||
|
Reference in New Issue
Block a user