basic activity feed
This commit is contained in:
parent
9a3819293c
commit
e30d3da176
4 changed files with 44 additions and 3 deletions
|
|
@ -56,3 +56,15 @@ export async function getSessions(rpc: XRPC, did: string) {
|
|||
});
|
||||
return records;
|
||||
}
|
||||
|
||||
export async function getActivity(rpc: XRPC, did: string) {
|
||||
const {
|
||||
data: { records }
|
||||
} = await rpc.get('com.atproto.repo.listRecords', {
|
||||
params: {
|
||||
repo: did,
|
||||
collection: 'me.woach.feed.activity'
|
||||
}
|
||||
});
|
||||
return records;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue