File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,7 @@ import type { Comment, CommentEmbed } from '#shared/types/blog-post'
44import * as app from '#shared/types/lexicons/app'
55import { CACHE_MAX_AGE_ONE_MINUTE , BLUESKY_API , AT_URI_REGEX } from '#shared/utils/constants'
66
7- const blueskyClient = new Client ( {
8- service : BLUESKY_API ,
9- fetch : $fetch ,
10- } )
7+ const blueskyClient = new Client ( { service : BLUESKY_API } )
118
129/**
1310 * Provides both build and runtime comments refreshes
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ export default defineEventHandler(async event => {
137137 )
138138
139139 const response = await fetch (
140- `https://${ SLINGSHOT_HOST } /xrpc/com.bad-example.identity.resolveMiniDoc?identifier=${ authSession . did } ` ,
140+ `https://${ SLINGSHOT_HOST } /xrpc/com.bad-example.identity.resolveMiniDoc?identifier=${ encodeURIComponent ( authSession . did ) } ` ,
141141 { headers : { 'User-Agent' : 'npmx' } } ,
142142 )
143143 if ( response . ok ) {
You can’t perform that action at this time.
0 commit comments