Remove unnecessary argument default value

GSoC/Meterpreter_Web_Console
Matthew Kienow 2018-12-27 21:39:21 -05:00
parent d677eb16a9
commit fa783256eb
No known key found for this signature in database
GPG Key ID: 40787F8B1EAC6E41
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module RemoteSessionEventDataService
SESSION_EVENT_API_PATH = '/api/v1/session-events'
SESSION_EVENT_MDM_CLASS = 'Mdm::SessionEvent'
def session_events(opts = {})
def session_events(opts)
path = get_path_select(opts, SESSION_EVENT_API_PATH)
json_to_mdm_object(self.get_data(path, nil, opts), SESSION_EVENT_MDM_CLASS, [])
end