Skip to content
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

Do not change the original options object #26

Closed
alik0211 opened this issue Dec 28, 2018 · 0 comments
Closed

Do not change the original options object #26

alik0211 opened this issue Dec 28, 2018 · 0 comments
Assignees

Comments

@alik0211
Copy link
Owner

Problem in hardtack 2.1.0 and below

Example:

const options = {
  path: '/'
};

hardtack.remove('name', options);

console.log(options); // { path: '/', expires: "Thu, 01 Jan 1970 00:00:01 GMT" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant