Skip to content

Commit 75fb8c2

Browse files
committed
adaptation index.ts to add default image
1 parent 1a8189f commit 75fb8c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

solid-common-lib/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function getProfileInfo(
8181
const mbox = getUrl(profileThing, Schema.mbox) ?? "";
8282
const description =
8383
getStringWithLocale(profileThing, Schema.description, "en-us") ?? "";
84-
const img = getUrl(profileThing, Schema.img) ?? "";
84+
const img = getUrl(profileThing, Schema.img) ?? "/profile.svg";
8585
const phone = getUrl(profileThing, Schema.phone) ?? "";
8686

8787
return { name, mbox, description, img, phone };

0 commit comments

Comments
 (0)