mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Fix Bluesky's selfLabel name
This commit is contained in:
parent
d0f53f5601
commit
a7bfc665c3
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ function assertAuthenticated(c: AppContext, author: NostrEvent): void {
|
||||||
!c.get('signer') && author.tags.some(([name, value, ns]) =>
|
!c.get('signer') && author.tags.some(([name, value, ns]) =>
|
||||||
name === 'l' &&
|
name === 'l' &&
|
||||||
value === '!no-unauthenticated' &&
|
value === '!no-unauthenticated' &&
|
||||||
ns === 'com.atproto.label.defs#selfLabels'
|
ns === 'com.atproto.label.defs#selfLabel'
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
throw new HTTPException(401, { message: 'Sign-in required.' });
|
throw new HTTPException(401, { message: 'Sign-in required.' });
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue