Skip to content

Commit

Permalink
Merge pull request #4 from uts-cic/staging-release
Browse files Browse the repository at this point in the history
fix ref to TAP api and seed for features
  • Loading branch information
radhikavm authored Jun 12, 2018
2 parents 0a7f26b + b36b0a1 commit 7a503d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/Http/Controllers/StringTokenizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class StringTokenizer extends Controller
{
public $gResponse;
public $graphQLURL = "http://tap-test.utscic.edu.au/graphql";
public $graphQLURL = "";
public $client;
protected $query = "query
CleanText(\$input: String!) {
Expand Down Expand Up @@ -138,6 +138,7 @@ class StringTokenizer extends Controller
public function __construct()
{
$this->middleware('auth');
$this->graphQLURL = env('TAP_API', ''). "/graphql";
$this->client = new Client($this->graphQLURL);
}
/**
Expand Down
2 changes: 1 addition & 1 deletion database/seeds/FeatureTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function run()
//
$feature_a = new Feature();
$feature_a->name = "Default-Rule";
$feature_a->grammar="Analytic";
$feature_a->grammar="Analytical";
$feature_a->rules=json_encode("{
\"rules\": [
{
Expand Down

0 comments on commit 7a503d7

Please sign in to comment.