Add fix for oembed API

This commit is contained in:
Alex Sanford
2023-11-30 16:58:26 -04:00
parent 804bdfc146
commit c7d49556f1
4 changed files with 21 additions and 9 deletions

View File

@@ -44,7 +44,7 @@ module WPScan
json = JSON.parse(response.body)
if json.is_a? Enumerable
if json.is_a?(Enumerable)
json.each do |user|
found << Model::User.new(user['slug'],
id: user['id'],