Completed
Pull Request — master (#604)
by Stig
03:28
created
code/control/DeployPlanDispatcher.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,9 +167,9 @@  discard block
 block discarded – undo
167 167
 		$fetch->write();
168 168
 		$fetch->start();
169 169
 
170
-		$location = Director::absoluteBaseURL() . $this->Link() . '/gitupdate/' . $fetch->ID;
170
+		$location = Director::absoluteBaseURL().$this->Link().'/gitupdate/'.$fetch->ID;
171 171
 		$output = array(
172
-			'message' => 'Fetch queued as job ' . $fetch->ResqueToken,
172
+			'message' => 'Fetch queued as job '.$fetch->ResqueToken,
173 173
 			'href' => $location,
174 174
 		);
175 175
 
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 		$jsonBody = json_decode($request->getBody(), true);
208 208
 		if(empty($jsonBody)) {
209 209
 			$output = [
210
-				'message' => 'request did not contain a parsable JSON payload' ,
210
+				'message' => 'request did not contain a parsable JSON payload',
211 211
 			];
212 212
 			return $this->getAPIResponse($output, 400);
213 213
 		}
Please login to merge, or discard this patch.