diff options
author | 2024-01-09 11:20:49 +0000 | |
---|---|---|
committer | 2024-01-09 11:20:49 +0000 | |
commit | 776776f0686d200db948e563b7fe0002cdea2977 (patch) | |
tree | 95d1278ecc8238b89e9af65b965008bab0ac7d0e | |
parent | Bump lxml from 5.0.0 to 5.1.0 (#1425) (diff) |
Correctly type revisions as an int
This was causing a pydantic validation error, was it was being passed a string.
The only place this is used internaly casts it to a string anyway, so no further changes were needed.
-rw-r--r-- | bot/exts/utilities/rfc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/rfc.py b/bot/exts/utilities/rfc.py index 8143f5ee..190be76e 100644 --- a/bot/exts/utilities/rfc.py +++ b/bot/exts/utilities/rfc.py @@ -20,7 +20,7 @@ class RfcDocument(pydantic.BaseModel): title: str description: str - revisions: str + revisions: int created: datetime.datetime |