From 4ad63f58ae722ecef4bdc9571a93239724ce35cc Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 4 Jul 2013 14:53:03 +0300 Subject: Remap requestReviewByApple in IndirectOnsiteRepair --- gsxws/repairs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gsxws/repairs.py b/gsxws/repairs.py index 4d5abb1..5cb9fdc 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -258,6 +258,10 @@ class IndirectOnsiteRepair(Repair): self.technicianName = self.diagnosedByTechId del(self._data['diagnosedByTechId']) + if hasattr(self, "requestReviewByApple"): + self.requestReview = self.requestReviewByApple + del(self._data['requestReviewByApple']) + return self._submit("repairData", "CreateIndirectOnsiteRepair", "repairConfirmation") -- cgit v1.2.3