We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88d1243 commit 7b07f2eCopy full SHA for 7b07f2e
1 file changed
backend/billing/validation.py
@@ -20,7 +20,7 @@
20
def validate_sdi_code(sdi_code: str) -> bool:
21
sdi_code = sdi_code.upper()
22
23
- if len(sdi_code) != 7:
+ if len(sdi_code) not in [6, 7]:
24
raise SdiCodeIncorrectLengthError()
25
26
if not sdi_code.isalnum():
0 commit comments