Private
Public Access
1
0

some more work

This commit is contained in:
2024-11-16 16:35:37 +01:00
parent 6a759b637f
commit e5effd5567
2 changed files with 44 additions and 3 deletions

View File

@@ -5374,5 +5374,5 @@ class iDokladToken(models.Model):
expires_in = models.IntegerField() # Store token expiry duration in seconds
def __str__(self):
return f"iDoklad Token updated at {self.updated_at}"
return f"iDoklad Token updated at {self.updated_at}, expires at {self.updated_at+datetime.timedelta(seconds=self.expires_in)}"