Use parentheses
This commit is contained in:
parent
9914ebdfe4
commit
026fd1aaa2
4 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ class PiecesJustificativesService
|
|||
|
||||
def self.upload_one!(dossier, user, params)
|
||||
content = params[:piece_justificative][:content]
|
||||
if ClamavService.safe_file? content.path
|
||||
if ClamavService.safe_file?(content.path)
|
||||
pj = PieceJustificative.new(content: content,
|
||||
dossier: dossier,
|
||||
type_de_piece_justificative: nil,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue