atproto explorer pdsls.dev
atproto tool

trim uri patterns

Changed files
+1 -1
src
views
+1 -1
src/views/labels.tsx
···
const fetchLabels = async () => {
const res = await rpc.get("com.atproto.label.queryLabels", {
params: {
-
uriPatterns: uriPatterns()!.split(","),
sources: [did as `did:${string}`],
cursor: cursor(),
},
···
const fetchLabels = async () => {
const res = await rpc.get("com.atproto.label.queryLabels", {
params: {
+
uriPatterns: uriPatterns()!.trim().split(","),
sources: [did as `did:${string}`],
cursor: cursor(),
},