Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Removed mandatory bio #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/gpl-core/src/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export class Profile {
const { data } = await axios.get<ProfileMetadataType>(metadataUri);

// Check if all required fields are present
const requiredFields: Array<keyof ProfileMetadataType> = ["name", "bio", "avatar"];
const requiredFields: Array<keyof ProfileMetadataType> = ["name", "avatar"];
for (const field of requiredFields) {
if (!data[field]) {
throw new Error(`${field} is required but missing`);
Expand Down