data endpoint for entity 90008 (aka. a website)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: throw error if no app password is provided

dusk 121e4bf2 581dd99a

+5 -1
+5 -1
src/lib/bluesky.ts
··· 14 14 }; 15 15 16 16 const loginToBsky = async () => { 17 + const password = env.BSKY_PASSWORD ?? null; 18 + if (password === null) { 19 + throw new Error('no password provided'); 20 + } 17 21 const bot = new Bot({ service: 'https://gaze.systems' }); 18 - await bot.login({ identifier: 'guestbook.gaze.systems', password: env.BSKY_PASSWORD ?? '' }); 22 + await bot.login({ identifier: 'guestbook.gaze.systems', password }); 19 23 return bot; 20 24 }; 21 25