Skip to content

Commit

Permalink
Make username and password optional (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
waranlogesh authored May 29, 2024
1 parent 482d5aa commit e119619
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/device.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ defmodule Onvif.Device do
alias Onvif.Device
alias Onvif.Discovery.Probe

@required [:username, :password, :address]
@required [:address]
@optional [
:username,
:password,
:scopes,
:manufacturer,
:model,
Expand Down

0 comments on commit e119619

Please sign in to comment.