summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2022-03-29 14:01:03 +0200
committermarcin mikołajczak <git@mkljczk.pl>2022-03-29 14:04:27 +0200
commitfbf9eced11e57e9b95fec23791efb7666480a6c1 (patch)
treec9275ba5be522c5e62193ae98eca4242cabce86d /lib
parentd7c53da77adfcfc5cf1fd83dd0671b9de8147e15 (diff)
downloadpleroma-fbf9eced11e57e9b95fec23791efb7666480a6c1.tar.gz
pleroma-fbf9eced11e57e9b95fec23791efb7666480a6c1.zip
Add short_description field
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/mastodon_api/views/instance_view.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/instance_view.ex b/lib/pleroma/web/mastodon_api/views/instance_view.ex
index ee52475d5..62931bd41 100644
--- a/lib/pleroma/web/mastodon_api/views/instance_view.ex
+++ b/lib/pleroma/web/mastodon_api/views/instance_view.ex
@@ -17,6 +17,7 @@ defmodule Pleroma.Web.MastodonAPI.InstanceView do
uri: Pleroma.Web.Endpoint.url(),
title: Keyword.get(instance, :name),
description: Keyword.get(instance, :description),
+ short_description: Keyword.get(instance, :short_description),
version: "#{@mastodon_api_level} (compatible; #{Pleroma.Application.named_version()})",
email: Keyword.get(instance, :email),
urls: %{