@ -56,7 +56,7 @@ class Hack < ApplicationRecord
private
def send_delete_tiding
base_attrs = {
user_id: user_id, viewed: 0, tiding_type: 'System', trigger_user_id: current_user.id,
user_id: user_id, viewed: 0, tiding_type: 'System', trigger_user_id: User.current.id,
parent_container_type: "HackDelete"
}
tidings.create!(base_attrs)