mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09:29 -07:00
fix: fix formatting
This commit is contained in:
parent
5200ad3611
commit
1b36959d17
2 changed files with 11 additions and 11 deletions
|
@ -216,24 +216,24 @@ export const claimSchema = {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
properties: {
|
properties: {
|
||||||
profileName: {
|
profileName: {
|
||||||
type: "string",
|
type: 'string',
|
||||||
description: "Account name to display in the user interface"
|
description: 'Account name to display in the user interface'
|
||||||
},
|
},
|
||||||
profileUrl: {
|
profileUrl: {
|
||||||
type: ["string", "null"],
|
type: ['string', 'null'],
|
||||||
description: "Profile URL to link to in the user interface"
|
description: 'Profile URL to link to in the user interface'
|
||||||
},
|
},
|
||||||
proofUrl: {
|
proofUrl: {
|
||||||
type: ["string", "null"],
|
type: ['string', 'null'],
|
||||||
description: "Proof URL to link to in the user interface"
|
description: 'Proof URL to link to in the user interface'
|
||||||
},
|
},
|
||||||
serviceProviderName: {
|
serviceProviderName: {
|
||||||
type: ["string", "null"],
|
type: ['string', 'null'],
|
||||||
description: "Name of the service provider to display in the user interface"
|
description: 'Name of the service provider to display in the user interface'
|
||||||
},
|
},
|
||||||
serviceProviderId: {
|
serviceProviderId: {
|
||||||
type: ["string", "null"],
|
type: ['string', 'null'],
|
||||||
description: "Id of the service provider"
|
description: 'Id of the service provider'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ const processAspProfile = async (/** @type {import('doipjs').Profile */ profile)
|
||||||
// Overwrite avatarUrl
|
// Overwrite avatarUrl
|
||||||
// TODO: don't overwrite avatarUrl once it's fully supported
|
// TODO: don't overwrite avatarUrl once it's fully supported
|
||||||
profile.personas[profile.primaryPersonaIndex].avatarUrl =
|
profile.personas[profile.primaryPersonaIndex].avatarUrl =
|
||||||
`https://${process.env.DICEBEAR_API_HOSTNAME || "api.dicebear.com" }/7.x/shapes/svg?seed=${profile.publicKey.fingerprint}&size=128`
|
`https://${process.env.DICEBEAR_API_HOSTNAME || 'api.dicebear.com'}/7.x/shapes/svg?seed=${profile.publicKey.fingerprint}&size=128`
|
||||||
|
|
||||||
return profile
|
return profile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue