Description
MSTeams thread replies pagination fails due to double-prepended GRAPH_ROOT on absolute nextLink URLs.
Location
Impact
In the recent pagination fix, fetchThreadReplies loops over pages using fetchGraphJson with path = res['@odata.nextLink']. Since the nextLink returned by Microsoft Graph is an absolute URL, and fetchGraphJson unconditionally prepends GRAPH_ROOT, the request fails with a double-prefixed URL. The loop should use the dedicated fetchGraphAbsoluteUrl helper instead.
Description
MSTeams thread replies pagination fails due to double-prepended GRAPH_ROOT on absolute nextLink URLs.
Location
Impact
In the recent pagination fix,
fetchThreadRepliesloops over pages usingfetchGraphJsonwithpath = res['@odata.nextLink']. Since the nextLink returned by Microsoft Graph is an absolute URL, andfetchGraphJsonunconditionally prependsGRAPH_ROOT, the request fails with a double-prefixed URL. The loop should use the dedicatedfetchGraphAbsoluteUrlhelper instead.