Skip to content
Snippets Groups Projects
Commit af8bd58d authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8887: fixed updateSpecification

parent ece260b8
No related branches found
No related tags found
No related merge requests found
...@@ -197,10 +197,12 @@ class RARPC: ...@@ -197,10 +197,12 @@ class RARPC:
def deleteSpecification(self, id): def deleteSpecification(self, id):
return self._rpc('DeleteSpecification', id=id) return self._rpc('DeleteSpecification', id=id)
def updateSpecification(self, specification_id, starttime=None, endtime=None, content=None): def updateSpecification(self, id, starttime=None, endtime=None, content=None):
return self._rpc('UpdateSpecification', starttime=starttime, return self._rpc('UpdateSpecification',
endtime=endtime, id=id,
content=content) starttime=starttime,
endtime=endtime,
content=content)
def getSpecifications(self): def getSpecifications(self):
specifications = self._rpc('GetSpecifications') specifications = self._rpc('GetSpecifications')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment