Backend developer needed to fix some Api errors
Apis--
1. User Api -
zodiacSign will be Int (because it will be picked from default picker)
ethnicity will be Int (because it will be picked from default picker)
Remove all JSON String and convert them to List of strings
2. Block and User API - it was worknig previously when tested. But today it is blocking. but it is not showing block user in USER API (giving error also -
{
"errors": [
{
"message": "'User' object is not subscriptable"
},
{
"message": "'User' object is not subscriptable"
}
],
3. We need a Unblock User Api (it can be within User Profile Api-that will be better)
4. Facebook & Twitter Auth Token - Not giving me id
my query:
Query: mutation {socialAuth (accessToken: "EAAW41eVbZAMgBAGZAuXN58c4MGUBWZBmiTybJxSN8s6rFz8NIP0vJZCuVqPaZBSDvCHekhaRLDtPnjExk0AZBLZA45JwJoZB2zZAziJwSdRZB7DVwgYfJvAWzEyqEsbyc7CVojijtInGYPZCrsnVbyRoXNZA6sOViNqZCqzy9JPUG4Q0C1oGbp4ABSY02xRzzw8lLtZBqgzpGXjm0NHglZCtZBcacvuoCayVt0eUJ8sdiF8LshcZAz52DWK3YUgGv", provider: "facebook-oauth2") {id, email, isNew}}
Response: {"errors":[{"message":"local variable 'idinfo' referenced before assignment"}],"data":{"socialAuth":null}}
** Search User problem List of int
5. Cannot Send BASE64 Image String
**NOTE: If any api errors come, you have to fix it.