Skip to content

Commit

Permalink
fix wk8#15
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfje committed Nov 9, 2015
1 parent b3af2a9 commit 6576e6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/cloudflare.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ def get_records zone, name
if rec['display_name'] == name && rec['zone_name'] == zone
result[rec['rec_id']] = rec
end
if name == "@" && rec['display_name'] == zone && rec['zone_name'] == zone
result[rec['rec_id']] = rec
end
end
result
end
Expand Down

0 comments on commit 6576e6d

Please sign in to comment.