Skip to content

Commit

Permalink
Fix age verify description (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackebein authored Feb 13, 2025
1 parent 92d7c00 commit 2dbd830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions openapi/components/schemas/AgeVerificationStatus.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
title: AgeVerificationStatus
type: string
description: |
obsolete, use `ageVerified` instead.
`ageVerificationStatus == "18+"` => `ageVerified == true`
`ageVerificationStatus != "18+"` => `ageVerified == false`
`verified` is obsolete.
User who have verified and are 18+ can switch to `plus18` status.
enum:
- hidden
- verified
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/AgeVerified.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
title: AgeVerified
type: boolean
description: '`true` if, user is age verified 18 or above. but `false`, when status is not shared. Otherwise always `false`.'
description: '`true` if, user is age verified (not 18+).'

0 comments on commit 2dbd830

Please sign in to comment.