tangled
alpha
login
or
join now
yoyle.city
/
skittr
6
fork
atom
this repo has no description
atproto
bluesky
typescript
express
6
fork
atom
overview
issues
3
pulls
pipelines
strip quotation marks from the did document resolver
lime360
3 weeks ago
6df87cc3
1984930c
1/1
test.yml
success
14s
+4
-1
1 changed file
expand all
collapse all
unified
split
src
lib
resolver.ts
+4
-1
src/lib/resolver.ts
···
71
71
72
72
export async function byPLC(did: string) {
73
73
const didDoc = await getPLC(did);
74
74
-
return didDoc.id;
74
74
+
75
75
+
if (typeof didDoc?.id !== "string") return null;
76
76
+
77
77
+
return didDoc.id.replace(/^"+|"$/g, "");
75
78
}
76
79
77
80
export async function getPDS(did: string) {