tangled
alpha
login
or
join now
yoyle.city
/
skittr
6
fork
atom
this repo has no description
atproto
bluesky
typescript
express
6
fork
atom
overview
issues
3
pulls
pipelines
fix
lime360
2 months ago
81b39925
65496ab2
1/1
test.yml
success
42s
+2
-2
1 changed file
expand all
collapse all
unified
split
src
index.ts
+2
-2
src/index.ts
reviewed
···
74
74
}),
75
75
);
76
76
77
77
-
app.use((req: Request, res: Response, next: NextFunction) => {
77
77
+
app.use(async (req: Request, res: Response, next: NextFunction) => {
78
78
const agent = new AtpAgent({
79
79
service: req.session.pds || "https://bsky.social",
80
80
persistSession: (e: AtpSessionEvent, s?: AtpSessionData) => {
···
88
88
89
89
if (req.session.atp) {
90
90
try {
91
91
-
agent.resumeSession(req.session.atp);
91
91
+
await agent.resumeSession(req.session.atp);
92
92
} catch (error) {
93
93
console.error(error);
94
94
delete req.session.atp;