catalystwan 0.41.1.dev5__py3-none-any.whl → 0.41.2.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,11 +133,13 @@ class ValidateAction(DeviceActionAPI): # TODO check
133
133
  """
134
134
  validate device
135
135
  """
136
- body = {
137
- "chasisNumber": self.dev.uuid,
138
- "serialNumber": self.dev.board_serial,
139
- "validity": "valid" if valid else "invalid",
140
- }
136
+ body = [
137
+ {
138
+ "chasisNumber": self.dev.uuid,
139
+ "serialNumber": self.dev.board_serial,
140
+ "validity": "valid" if valid else "invalid",
141
+ }
142
+ ]
141
143
 
142
144
  response = self.session.post(url="/dataservice/certificate/save/vedge/list", json=body).json()
143
145
  if response.get("id"):