Embed base images into binary
Include resource directory Ran `deno fmt` with 4 space indent, that changed every file (!!!!!) various changes
This commit is contained in:
@@ -2,14 +2,19 @@ import { APIUtils } from "../../apiutils.ts";
|
||||
|
||||
export const route = APIUtils.createRouter("/cachedlogin");
|
||||
|
||||
route.router.get('/forplatformid/:platformtype/:platformid',
|
||||
route.router.get("/forplatformid/:platformtype/:platformid",
|
||||
|
||||
APIUtils.UserAuthentication,
|
||||
APIUtils.Authentication,
|
||||
|
||||
async (_rq, rs) => {
|
||||
|
||||
rs.json(await rs.locals.user.exportAssociatedProfiles());
|
||||
const profiles = await rs.locals.user.exportAssociatedProfiles();
|
||||
rs.json(profiles.map((acc) => ({
|
||||
platform: 0,
|
||||
platformId: rs.locals.user.getId(),
|
||||
accountId: acc.accountId,
|
||||
lastLoginTime: new Date().toISOString(),
|
||||
requirePassword: false,
|
||||
})));
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
);
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user