add log of user_id
This commit is contained in:
parent
393368c38d
commit
917f9a0f2c
|
@ -22,6 +22,8 @@ class BlockchainsService
|
|||
def get_networkids_ports(user)
|
||||
network_ids = []
|
||||
ports = []
|
||||
Rails.logger.info("!!!!!!!!!!!user id is:")
|
||||
Rails.logger.info(user.id)
|
||||
bcs = Blockchain.find_by_sql("select network_id, port from blockchains where user_id=#{user.id}")
|
||||
bcs.each do |bc|
|
||||
network_ids << bc.network_id unless bc.network_id == nil
|
||||
|
|
Loading…
Reference in New Issue