miguelgrinberg / microblog-api

A modern (as of 2024) Flask API back end.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Token table clean up

dhernandezgt opened this issue · comments

After test and use the api, Token table data is increasing. Should the table should overwrite new token?

There is a cleanup function for tokens already. See Token.clean() in models.py. This is called here.