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

Bug: TotalItems various int/str depending on the database #7

Open
subvillion opened this issue Nov 19, 2018 · 0 comments
Open

Bug: TotalItems various int/str depending on the database #7

subvillion opened this issue Nov 19, 2018 · 0 comments

Comments

@subvillion
Copy link

subvillion commented Nov 19, 2018

If I use Mysql (mariadb) as ttrss back-end database ?items returns json value TotalItems as string
If I use Postgres as ttrss back-end database ?items returns json value TotalItems as int

postrges

{
  "api_version": 3,
  "auth": 1,
  "total_items": 33725,
  "items": [],
  "last_refreshed_on_time": "1565084077"
}

mysql

{
  "api_version": 3,
  "auth": 1,
  "total_items": "33725",
  "items": [],
  "last_refreshed_on_time": "1565084077"
}
@subvillion subvillion changed the title Bug in ?items json (mysql vs postrgess) Bug in ?items json (mysql vs postrges) Nov 19, 2018
@subvillion subvillion changed the title Bug in ?items json (mysql vs postrges) Bug: TotalItems various int/str depending on the database Aug 6, 2019
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