Allow updating bio fields via PUT /api/v1/accounts/update_credentials (#7288)
Add raw bio fields to the source attribute on GET /api/v1/accounts/verify_credentials
This commit is contained in:
parent
f62539ce5c
commit
cae933510c
3 changed files with 7 additions and 1 deletions
|
@ -273,6 +273,10 @@ class Account < ApplicationRecord
|
|||
@value = attr['value']
|
||||
@errors = {}
|
||||
end
|
||||
|
||||
def to_h
|
||||
{ name: @name, value: @value }
|
||||
end
|
||||
end
|
||||
|
||||
class << self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue