Skip to content

[BUG]: The methods GetAllForCurrentWithTimestamps and GetAllForUserWithTimestamps did not return timestamps. #2827

@MareMare

Description

@MareMare

What happened?

The methods GetAllForCurrentWithTimestamps and GetAllForUserWithTimestamps did not return timestamps.

The code I tried is below:

var apiOptions = new ApiOptions { StartPage = 1, PageCount = 1, PageSize = 3, };
var starred01 = await client.Activity.Starring.GetAllForCurrentWithTimestamps(apiOptions);
var starred02 = await client.Activity.Starring.GetAllForUserWithTimestamps(user.Login, apiOptions);

starred01.Dump("starred01");
starred02.Dump("starred02");

LINQPad results are below:

image

Perhaps application/vnd.github.star+json is not passed to the Accept header.

Versions

9.0.0

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions