1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2025-03-19 12:59:30 +00:00

minor fix id

This commit is contained in:
Adrien Waksberg 2016-10-17 18:35:30 +02:00
parent 2ffaa5114b
commit cc339bbe98

View file

@ -110,16 +110,16 @@ class MPW
@data.each do |item|
next if item.empty?
data.merge!("#{item.user}@#{item.host}" => {'id' => item.id,
'group' => item.group,
'host' => item.host,
'protocol' => item.protocol,
'user' => item.user,
'port' => item.port,
'comment' => item.comment,
'last_edit' => item.last_edit,
'created' => item.created,
}
data.merge!(item.id => { 'id' => item.id,
'group' => item.group,
'host' => item.host,
'protocol' => item.protocol,
'user' => item.user,
'port' => item.port,
'comment' => item.comment,
'last_edit' => item.last_edit,
'created' => item.created,
}
)
end