diff options
author | Roman Chvanikov <chvanikoff@pm.me> | 2019-07-14 22:04:55 +0300 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@pm.me> | 2019-07-14 22:04:55 +0300 |
commit | 168dc97c37f274b258b04eb7e883640b84259714 (patch) | |
tree | cde8dad8dcc9d56da58d3ab780d786abde2a1027 /lib | |
parent | c729883936c7d258cb670929af9577aec3e22851 (diff) | |
download | pleroma-168dc97c37f274b258b04eb7e883640b84259714.tar.gz |
Make opts optional in Pleroma.Notification.for_user_query/2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/notification.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index f680fe049..04bbfa0df 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -33,7 +33,7 @@ defmodule Pleroma.Notification do |> cast(attrs, [:seen]) end - def for_user_query(user, opts) do + def for_user_query(user, opts \\ []) do query = Notification |> where(user_id: ^user.id) |