diff options
Diffstat (limited to 'app/views/api/v1/accounts')
-rw-r--r-- | app/views/api/v1/accounts/relationship.rabl | 2 | ||||
-rw-r--r-- | app/views/api/v1/accounts/show.rabl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/api/v1/accounts/relationship.rabl b/app/views/api/v1/accounts/relationship.rabl index 4f634877f..84043e9cd 100644 --- a/app/views/api/v1/accounts/relationship.rabl +++ b/app/views/api/v1/accounts/relationship.rabl @@ -1,5 +1,5 @@ object @account -cache false + attribute :id node(:following) { |account| @following[account.id] || false } node(:followed_by) { |account| @followed_by[account.id] || false } diff --git a/app/views/api/v1/accounts/show.rabl b/app/views/api/v1/accounts/show.rabl index 6aec6e14d..b7b4d2640 100644 --- a/app/views/api/v1/accounts/show.rabl +++ b/app/views/api/v1/accounts/show.rabl @@ -1,5 +1,5 @@ object @account -cache false +cache attributes :id, :username, :acct, :display_name, :note |