Browse Source

fix content type header

pull/5/head
Aaron Parecki 7 years ago
parent
commit
b8a0d30a73
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      compass/app/Http/Controllers/Api.php

+ 1
- 1
compass/app/Http/Controllers/Api.php View File

@ -202,7 +202,7 @@ class Api extends BaseController
}
}
return response(json_encode($response));
return response(json_encode($response))->header('Content-Type', 'application/json');;
}
public function input(Request $request) {

Loading…
Cancel
Save