only POST new/changed data to the API when saving (#2)

This commit is contained in:
James
2019-09-07 09:22:07 +01:00
parent fe713f6926
commit 927e68f71b
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ class GiteaRepoData extends GiteaData{
}
public function save(){
return $this->repo->request($this->url,'PATCH',$this->data);
return $this->repo->request($this->url,'PATCH',$this->newData);
}
}