Skip to content

Commit a37bba8

Browse files
committed
Adds missing 'query' part in options hash
1 parent 180b22a commit a37bba8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/help_scout.rb

+6-3
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@ def get_conversation(id)
5858
#
5959
# Returns hash from HS with conversation data
6060
def get_conversations(mailbox_id, page = 1, modified_since = nil)
61-
options ={
62-
page: page,
63-
modifiedSince: modified_since,
61+
options = {
62+
query: {
63+
page: page,
64+
modifiedSince: modified_since,
65+
}
6466
}
67+
6568
get("mailboxes/#{mailbox_id}/conversations", options)
6669
end
6770

0 commit comments

Comments
 (0)