mirror of
https://github.com/healthchecks/healthchecks.git
synced 2025-04-03 04:15:29 +00:00
Add missing type annotation
This commit is contained in:
parent
ca4253324a
commit
0456a5934a
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ class Channel(models.Model):
|
|||
checks = Check.objects.filter(project=self.project)
|
||||
self.checks.add(*checks)
|
||||
|
||||
def make_token(self, use_sha1=False) -> str:
|
||||
def make_token(self, use_sha1: bool = False) -> str:
|
||||
seed = str(self.code) + settings.SECRET_KEY
|
||||
seed_bytes = seed.encode()
|
||||
if use_sha1:
|
||||
|
|
Loading…
Add table
Reference in a new issue