Some decisions regarding the lua env
it will be in the app environment because it serves the app, will think about it later
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ func deleteShare(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
err = exp.Serv.DeleteShare(shareID)
|
||||
err = exp.App.DeleteShare(shareID)
|
||||
if err == experr.ErrNotFound {
|
||||
errMsg := fmt.Sprintf("share %d not found", shareID)
|
||||
c.String(http.StatusNotFound, errMsg)
|
||||
|
||||
Reference in New Issue
Block a user