Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update contact_groups to list_groups (#455)
Browse files Browse the repository at this point in the history
mrashed-dev authored Jan 30, 2024
1 parent a42a3eb commit f3fb868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nylas/resources/contacts.rb
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ def destroy(identifier:, contact_id:)
# @param identifier [String] Grant ID or email account to query.
# @param query_params [Hash, nil] Query params to pass to the request.
# @return [Array(Array(Hash), String)] The list of contact groups and API Request ID.
def contact_groups(identifier:, query_params: nil)
def list_groups(identifier:, query_params: nil)
get(
path: "#{api_uri}/v3/grants/#{identifier}/contacts/groups",
query_params: query_params

0 comments on commit f3fb868

Please sign in to comment.