Fix: Accept phone number in public contact api (#4580)

This PR makes it possible to pass a phone number to the public contacts API.

Fixes #4023
This commit is contained in:
Shivam Chahar
2022-04-29 20:54:12 +05:30
committed by GitHub
parent 45099f40f1
commit c1cc94e37c
5 changed files with 15 additions and 5 deletions

View File

@@ -10,9 +10,12 @@ properties:
email:
type: string
description: Email of the contact
name:
name:
type: string
description: Name of the contact
phone_number:
type: string
description: Phone number of the contact
avatar_url:
type: string
description: The url to a jpeg, png file for the user avatar

View File

@@ -5268,6 +5268,10 @@
"type": "string",
"description": "Name of the contact"
},
"phone_number": {
"type": "string",
"description": "Phone number of the contact"
},
"avatar_url": {
"type": "string",
"description": "The url to a jpeg, png file for the user avatar"