removed unused return information
This commit is contained in:
+1
-2
@@ -10953,8 +10953,7 @@ def reset_item(id):
|
|||||||
if result['success']:
|
if result['success']:
|
||||||
return jsonify({
|
return jsonify({
|
||||||
'success': True,
|
'success': True,
|
||||||
'message': 'Item reset successfully',
|
'message': 'Item reset successfully'
|
||||||
'details': result.get('details', {})
|
|
||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
return jsonify({
|
return jsonify({
|
||||||
|
|||||||
@@ -1235,5 +1235,5 @@ def reset_item_completely(item_id):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
return {
|
return {
|
||||||
'success': False,
|
'success': False,
|
||||||
'message': f'Fehler beim Zurücksetzen: {str(e)}'
|
'message': f'Fehler beim Zurücksetzen.'
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user