Update filter_view.ex to return whole_word actual value
authorMK Fain <mk@marykatefain.com>
Wed, 5 Aug 2020 02:01:27 +0000 (02:01 +0000)
committerMK Fain <mk@marykatefain.com>
Wed, 5 Aug 2020 02:01:27 +0000 (02:01 +0000)
lib/pleroma/web/mastodon_api/views/filter_view.ex

index aeff646f559d6268d97d700d5163ace67e881c22..c37f624e071380bd55a1fd841f6ac1259a0f98d5 100644 (file)
@@ -25,7 +25,7 @@ defmodule Pleroma.Web.MastodonAPI.FilterView do
       context: filter.context,
       expires_at: expires_at,
       irreversible: filter.hide,
-      whole_word: false
+      whole_word: filter.whole_word
     }
   end
 end