()
| 655 | @api.route("/settings/software/storage/logs", methods=['DELETE']) |
| 656 | @restricted_access |
| 657 | def clearLogs(): |
| 658 | if softwareManager.clearLogs(): |
| 659 | return jsonify() |
| 660 | else: |
| 661 | return ("There was an error trying to clear your logs.", 500) |
| 662 | |
| 663 | @api.route("/settings/software/storage/uploads", methods=['DELETE']) |
| 664 | @restricted_access |