Skip to content

Commit

Permalink
Fixed actionHandler Browse not working if options.BrowseFlag is an array
Browse files Browse the repository at this point in the history
  • Loading branch information
Espen Aa Ljosland committed Sep 8, 2015
1 parent 4f761f8 commit c9134cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/ContentDirectory.coffee
Expand Up @@ -56,7 +56,7 @@ class ContentDirectory extends Service
browseCallback = (err, resp) =>
cb null, (if err? then @buildSoapError(err) else resp)

switch options?.BrowseFlag
switch options?.BrowseFlag?.toString()
when 'BrowseMetadata'
@browseMetadata options, browseCallback
when 'BrowseDirectChildren'
Expand Down

0 comments on commit c9134cf

Please sign in to comment.