1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-17 12:35:37 +02:00
This commit is contained in:
tamaina
2023-06-04 17:22:53 +00:00
parent 1e2178b717
commit 64bbfc2107
3 changed files with 59 additions and 57 deletions

View File

@@ -29,7 +29,7 @@ export default class extends Endpoint<'auth/accept'> {
.findOneBy({ token: ps.token });
if (session == null) {
throw new ApiError(meta.errors.noSuchSession);
throw new ApiError(this.meta.errors.noSuchSession);
}
const accessToken = secureRndstr(32, true);