Skip to content

Commit

Permalink
fix: daily query limit (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
noctera authored and luwol03 committed Nov 21, 2021
1 parent 9b57da9 commit 0089e0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
This changelog goes through all the changes that have been made in each release on the
[vocascan-server](https://github.com/vocascan/vocascan-server).

## [v1.1.1](https://github.com/vocascan/vocascan-server/releases/tag/v1.1.1) - 2021.11.21

In this bug-fixing version the Daily query limit is fixed, which due to a code error, took the date when the server was started.

- Bugfixes
- Daily query limit (#69)

## [v1.1.0](https://github.com/vocascan/vocascan-server/releases/tag/v1.1.0) - 2021.11.20

After some time, the new version of Vocascan Server has finally been released, with import/export features to share your
Expand Down
2 changes: 1 addition & 1 deletion database/models/PackageProgress.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = (sequelize) => {
},
date: {
type: DataTypes.DATEONLY,
defaultValue: new Date(),
defaultValue: () => new Date(),
allowNull: false,
},
learnedTodayCorrect: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vocascan/server",
"version": "1.1.0",
"version": "1.1.1",
"description": "A highly configurable vocabulary trainer",
"main": "./server.js",
"scripts": {
Expand Down

0 comments on commit 0089e0d

Please sign in to comment.