Skip to content

Commit 2e869bc

Browse files
authored
Fix typo on Clean Messages (#375)
json_response instead of json_resposne 😁
1 parent bfefb78 commit 2e869bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nylas/resources/messages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,11 +281,11 @@ def clean_messages(
281281
Returns:
282282
The list of cleaned messages.
283283
"""
284-
json_resposne = self._http_client._execute(
284+
json_response = self._http_client._execute(
285285
method="PUT",
286286
path=f"/v3/grants/{identifier}/messages/clean",
287287
request_body=request_body,
288288
overrides=overrides,
289289
)
290290

291-
return ListResponse.from_dict(json_resposne, CleanMessagesResponse)
291+
return ListResponse.from_dict(json_response, CleanMessagesResponse)

0 commit comments

Comments
 (0)