@@ -167,9 +167,9 @@ discard block |
||
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 |
||
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 | } |