mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-03 19:24:48 +08:00
fix hound
This commit is contained in:
parent
9ee971c24b
commit
8af3858209
1 changed files with 3 additions and 3 deletions
|
@ -100,8 +100,8 @@ class AtWhoController < ApplicationController
|
|||
res.each do |obj|
|
||||
tmp = {}
|
||||
tmp['id'] = obj[0].base62_encode
|
||||
tmp['full_name'] = obj[1]
|
||||
.truncate(Constants::NAME_TRUNCATION_LENGTH_DROPDOWN)
|
||||
tmp['full_name'] =
|
||||
obj[1].truncate(Constants::NAME_TRUNCATION_LENGTH_DROPDOWN)
|
||||
tmp['email'] = obj[2]
|
||||
tmp['img_url'] = avatar_path(obj[0], :icon_small)
|
||||
data << tmp
|
||||
|
|
Loading…
Reference in a new issue