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:
1 parent
f62539ce5c
commit
cae933510c
3 files changed
+7
-1
No files matched your search
@@ -273,6 +273,10 @@ class Account < ApplicationRecord
|
||||
@value = attr['value']
|
||||
@errors = {}
|
||||
end
|
||||
|
||||
def to_h
|
||||
{ name: @name, value: @value }
|
||||
end
|
||||
end
|
||||
|
||||
class << self
|
||||
|
||||
Reference in new issue
Block a user