Fix bug.
This commit is contained in:
parent
37f4d2c287
commit
fab9ac0065
|
@ -33,7 +33,7 @@ module NtnuSyncPlugin
|
|||
end
|
||||
|
||||
jp.publication_date = "#{publication_year}/#{publication_month}/01"
|
||||
jp.member_profile_id = user.member_profile_id
|
||||
jp.member_profile_id = [user.member_profile_id]
|
||||
puts "journal paper #{jp.id} saved" if jp.save
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue