This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ defmodule MastaniServer.Billing.Delegate.CURD do
3333 def create_record ( % User { id: user_id } , attrs ) do
3434 with { :ok , user } <- ORM . find ( User , user_id ) do
3535 case ORM . find_by ( BillRecord , user_id: user . id , state: "pending" ) do
36- { :ok , record } ->
36+ { :ok , _record } ->
3737 { :error , [ message: "you have pending bill" , code: ecode ( :exsit_pending_bill ) ] }
3838
3939 { :error , _ } ->
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ defmodule MastaniServer.CMS.Delegate.ArticleCURD do
366366 end
367367 end
368368
369- defp should_add_pin? ( filter ) , do: { :error , :pass }
369+ defp should_add_pin? ( _filter ) , do: { :error , :pass }
370370
371371 defp concat_contents ( pined_content , normal_contents ) do
372372 case pined_content |> Map . get ( :total_count ) do
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ defmodule MastaniServer.Statistics.Delegate.Status do
44 """
55
66 import Ecto.Query , warn: false
7- import Helper.Utils
87 import ShortMaps
98
109 # alias MastaniServer.Repo
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ defmodule MastaniServer.Test.CMS do
148148 # end
149149
150150 describe "[cms community thread]" do
151- alias CMS . { Community , Thread }
151+ alias CMS.Community
152152
153153 test "can create thread to a community" do
154154 title = "post"
You can’t perform that action at this time.
0 commit comments