Skip to content

Commit 7527589

Browse files
committed
Fix for older Python
1 parent 4e1ebc8 commit 7527589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user-auth/graphtutorial/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def send_mail(self, subject: str, body: str, recipient: str):
8989
to_recipient = Recipient()
9090
to_recipient.email_address = EmailAddress()
9191
to_recipient.email_address.address = recipient
92-
message.to_recipients = list[Recipient]()
92+
message.to_recipients = []
9393
message.to_recipients.append(to_recipient)
9494

9595
request_body = SendMailPostRequestBody()

0 commit comments

Comments
 (0)