Client access stats using name for clientId
client.access
/db.gitter_client_access_events
using name for clientId
, https://gitlab.com/gitlab-org/gitter/webapp/blob/23cf013b17f5d70d9ef3b239a24d2f89288add94/server/utils/client-usage-stats.js#L32
We should update it to use the actual ID instead. We should also add in clientKey
db.oauthclients.findOne({ clientKey: 'windows-desktop-prod' })
{
"_id" : ObjectId("54ca25b0db8155e6700f37a7"),
"clientKey" : "windows-desktop-prod",
"clientSecret" : "xxx",
"name" : "Gitter Windows Desktop App",
"tag" : "windows-desktop",
"registeredRedirectUri" : "app://gitter/oauth.html"
}
Edited by Eric Eastwood