Skip to content

Commit

Permalink
Changes variable name to make more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
coconutcraig committed Nov 15, 2018
1 parent 75a78ca commit 45e4bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ export default class User implements UserResource {
}

public async get(): Promise<any> {
const values = this.params();
const parameters = this.params();
const params: Filterable<UserFilter> = {};

if (Object.keys(params).length) {
params.filters = values;
params.filters = parameters;
}

if (this.sortable) {
Expand Down

0 comments on commit 45e4bef

Please sign in to comment.