Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

Profile API: Players without clans: need better values #12

Closed
smlbiobot opened this issue Sep 18, 2017 · 2 comments
Closed

Profile API: Players without clans: need better values #12

smlbiobot opened this issue Sep 18, 2017 · 2 comments

Comments

@smlbiobot
Copy link
Member

Either:

  • Return null for "clan"
  • Return null for each of the fields in "clan"

Current output is:

    "clan": {
        "tag": "",
        "role": "Unknown type: alliance.roles.undefined",
        "badgeUrl": "/badge/Unknown type: badges.NaN.png"
    },

which is not desirable.

@smlbiobot smlbiobot changed the title Profile API: Need to return null for players without clans Profile API: Players without clans: need better values Sep 18, 2017
@selfish
Copy link
Member

selfish commented Sep 18, 2017

Will return null for clan.
Up in next version

@selfish selfish added this to the Complete API milestone Sep 18, 2017
@Gr8z
Copy link

Gr8z commented Sep 19, 2017

Can confirm, this bug exists in players without a clan.

@selfish selfish closed this as completed Sep 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

3 participants