change order of fields in auth_data to match autoscaler for signature verification

This commit is contained in:
Edgar Lin
2025-10-28 14:51:03 -07:00
parent 298590fb88
commit b8223879c9
+4 -4
View File
@@ -65,12 +65,12 @@ class ApiPayload(ABC):
class AuthData: class AuthData:
"""data used to authenticate requester""" """data used to authenticate requester"""
signature: str
cost: str
endpoint: str endpoint: str
reqnum: int
url: str
request_idx: int request_idx: int
url: str
cost: str
reqnum: int
signature: str
@classmethod @classmethod
def from_json_msg(cls, json_msg: Dict[str, Any]): def from_json_msg(cls, json_msg: Dict[str, Any]):