From 776776f0686d200db948e563b7fe0002cdea2977 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Tue, 9 Jan 2024 11:20:49 +0000 Subject: 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. --- bot/exts/utilities/rfc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3