Emelia Smith

Results 537 comments of Emelia Smith
trafficstars

Looks like CI failures are all due to linting (I wrote this in the github editor, so didn't have prettier)

@thetutlage their documentation isn't the best but I think the idea is the `/oauth/@me` is always available, but `/api/users/@me` depends on scope granted.

Also I think to get guilds you'd use the access token and make an API request with it

By making the change to separate refresh tokens from access tokens, it would also pave the way for a refresh token to have a configurable expiry, as the person in...

This worked for me on clang 15.0.0 (clang-1500.3.9.4) on arm64-apple-darwin23.5.0, and also for a coworker on archlinux.

What's your `InitializeBouncerMiddleware` look like? Because iirc, it should have this at the end: ```typescript declare module '@adonisjs/core/http' { export interface HttpContext { bouncer: Bouncer< Exclude, typeof abilities, typeof policies...

It may be that Mastodon's Gemfile.lock has pinned 0.5.9.6 when wanting ~> 0.5.9, even though a 0 major does mean anything can break & API is unstable, the version number...

> I think if you write a unit test just for the middleware, then you could test it with a fake instance of HTTP context right? > > However, we...