cli/utils/createUserAvatar
Esta página aún no está disponible en tu idioma.
Functions
Section titled “Functions”createUserAvatar()
Section titled “createUserAvatar()”function createUserAvatar(email: string): Promise<string>
Defined in: studiocms/packages/studiocms/src/cli/utils/createUserAvatar.ts:10^
Creates a user avatar URL based on the provided email.
This function takes an email address, processes it to generate a unique hash, and returns a URL for the user’s avatar using the Libravatar service.
Parameters
Section titled “Parameters”string
The email address of the user.
Returns
Section titled “Returns”Promise
<string
>
A promise that resolves to the URL of the user’s avatar.