CanSendGameInviteAsync code sample lists wrong function

Issue Description
On line 12, the function in the pcall is CanSendGameInvite. This method is missing an Async at the end of it; it should be CanSendGameInviteAsync. The exact fixed line is as follows:

local res, canSend = pcall(SocialService.CanSendGameInviteAsync, SocialService, targetPlayer)

Issue Area: DevHub Content
Page URL: SocialService:CanSendGameInviteAsync

3 Likes

Thanks for the report. We have filed a ticket to our internal database and we’ll come back when we have any updates for you.

1 Like

Reply-updating to note that the same issue is present in the new documentation: SocialService.