Removed duplicate execution

This commit is contained in:
Maximilian Giller 2020-12-30 21:34:15 +01:00
parent dd39bb6450
commit 4010d8fbd0

View file

@ -27,11 +27,6 @@ abstract class ApiBranch {
} }
} }
if ($currentType === RequestType::GET) {
$this->get($params);
} else if ($currentType === RequestType::POST) {
$this->post($params);
}
if ($currentType === RequestType::GET) { if ($currentType === RequestType::GET) {
$this->get($params); $this->get($params);
} else if ($currentType === RequestType::POST) { } else if ($currentType === RequestType::POST) {