Skip to content

Commit

Permalink
Fix README for api (bluesky-social#850)
Browse files Browse the repository at this point in the history
=>
  • Loading branch information
aliceisjustplaying authored Apr 20, 2023
1 parent 24f7183 commit a5016eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/README.md
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ Log into a server or create accounts using these APIs. You'll need an active ses
import { BskyAgent, AtpSessionEvent, AtpSessionData } from '@atproto/api'
const agent = new BskyAgent({
service: 'https://example.com',
persistSession: (evt: AtpSessionEvent, sess?: AtpSessionData) {
persistSession: (evt: AtpSessionEvent, sess?: AtpSessionData) => {
// store the session-data for reuse
}
})

0 comments on commit a5016eb

Please sign in to comment.