Skip to content

Commit

Permalink
Minimize a repeated line, fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniyelMe committed Jul 4, 2020
1 parent e174c79 commit 0178cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class Auth {
Object.defineProperty(data, 'expiresAt', { value: Date.parse(response.headers.get('date')) + 3600 * 1000 });

// Remove unnecessary property
delete updatedData.kind;
delete data.kind;
return data;
});
}
Expand Down

0 comments on commit 0178cae

Please sign in to comment.