🐔requestDeveloperVerification
TODO @lukas
Input parameters
UserUID
How to call from app
HTTP request to: /reqest-Developer-verification
Logic
The frontend (app.tasksource.io) calls the API
validate if the following fields in the user Document are not empty:
country
allowPublicViewingOfProfile (boolean)
allowGeneralPrivacyPolicy (boolean)
termsAndConditionsAgreement (boolean)
postalCode
lastName
firstName
city
skills (array != empty)
languageSkills (array != empty)
githubUrl
linkedinUrl
streetAddress
email
legalInvoiceInformation
bankInformation
profileImage
If field is invalid
return name of the field with error
If all fields are valid do:
add a field to the user: hasRequestedVerification: true
Send email:
to_email_adress = "user_email"
template_name = "request-developer-verification->us"
data = {}
Last updated