feat(bluesky): add bluesky integration

This commit is contained in:
Rıdvan Akca
2024-05-22 16:10:23 +02:00
parent 5b7b8c934f
commit 3c44f55f19
11 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
const getCurrentUser = async ($) => {
const handle = $.auth.data.handle;
const params = {
actor: handle,
};
const { data: currentUser } = await $.http.get('/app.bsky.actor.getProfile', {
params,
});
return currentUser;
};
export default getCurrentUser;