[BUG] GitHub Apps: app installations via API query vs. reading from webhook event format differ

Basically those two are almost the same except for the date time values.

If you read an installation event it has installation key with

{
    ...
    "created_at": 1543777828,
    "updated_at": 1543777828,
    ...
}

When you query all installations from the API it returns

{
    ...
    "created_at": "2018-12-02T19:10:28.000Z",
    "updated_at": "2018-12-02T19:10:28.000Z",
    ...
}

Hi @webknjaz,

Thanks for taking the time to write about this, taken your report and passed it along to the appropriate teams. Will post any updates here, as soon as I have one. 

Thanks again!

Andrea

1 Like