expires in may be not small

This commit is contained in:
Yohann D'ANELLO 2021-11-14 15:49:58 +01:00
parent fe55a2a5ea
commit 49898143ce
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class Migration(migrations.Migration):
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('access_token', models.CharField(max_length=32, verbose_name='access token')),
('expires_in', models.PositiveSmallIntegerField(verbose_name='expires in')),
('expires_in', models.PositiveIntegerField(verbose_name='expires in')),
('scopes', models.CharField(max_length=255, verbose_name='scopes')),
('refresh_token', models.CharField(max_length=32, verbose_name='refresh token')),
('expires_at', models.DateTimeField(verbose_name='expires at')),

View File

@ -119,7 +119,7 @@ class AccessToken(models.Model):
verbose_name=_('access token'),
)
expires_in = models.PositiveSmallIntegerField(
expires_in = models.PositiveIntegerField(
verbose_name=_('expires in'),
)