Skip to content

Commit 1ee4a42

Browse files
committed
feat: Add dateOfBirth property to CreateAccountParams
1 parent a57620e commit 1ee4a42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mastodon/rest/v1/accounts.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export interface CreateAccountParams {
3333
readonly locale: string;
3434
/** Text that will be reviewed by moderators if registrations require manual approval. */
3535
readonly reason?: string;
36+
/** String (Date), required if the server has a minimum age requirement. */
37+
readonly dateOfBirth?: string;
3638
/** https://github.com/mastodon/mastodon/pull/25342 */
3739
readonly timeZone?: string;
3840
}

0 commit comments

Comments
 (0)