Skip to content

Commit

Permalink
revscoring_model: fix typo in error msg
Browse files Browse the repository at this point in the history
Change-Id: I2546e9ed0d19d5b24afdb4d3849299fc28a9cb37
  • Loading branch information
elukey committed Apr 19, 2024
1 parent c7f820b commit ea4bf86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion revscoring_model/model_servers/model_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async def preprocess(self, inputs: Dict, headers: Dict[str, str] = None) -> Dict
"""Use MW API session and Revscoring API to extract feature values
of edit text based on its revision id"""
if self.LOG_JSON_PAYLOAD:
logging.info(f"JSON paylod for the request: {inputs}")
logging.info(f"JSON payload for the request: {inputs}")
inputs = validate_json_input(inputs)

rev_id = self.get_rev_id(inputs, self.EVENT_KEY)
Expand Down

0 comments on commit ea4bf86

Please sign in to comment.