New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow `token` to be a nested object in the response #45

Merged
merged 1 commit into from Jan 26, 2018

Conversation

Projects
None yet
2 participants
@tobz-nz
Contributor

tobz-nz commented Jan 25, 2018

With this change the token name can be data.token for example.

eg Response:

{
    "data": {
        ...
        "token": "..."
    }
}

I've not checked for BC, but in theory it should be fine.... right?

Allow `token` to be a nested object in the response
With this change the `token` name can be `data.token` for example.

eg response: 

```json
{
    data: {
        ...
        token: '...'
    }
}
```

I've not checked for BC, but in theory it should be fine.... right?
@pi0

This comment has been minimized.

Member

pi0 commented Jan 26, 2018

Thanks for the PR. Will improve it before release :)

@pi0 pi0 merged commit 8064839 into nuxt-community:master Jan 26, 2018

@tobz-nz tobz-nz deleted the tobz-nz:patch-2 branch Jan 26, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment