Browse Source

Minor adjustment to web services

Stephen Ficklin 7 years ago
parent
commit
82ba0937ec
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tripal_ws/includes/TripalWebServiceResource.inc

+ 3 - 0
tripal_ws/includes/TripalWebServiceResource.inc

@@ -54,6 +54,9 @@ class TripalWebServiceResource {
     $vocab = tripal_get_vocabulary_details('schema');
     $this->addContextItem('schema', $vocab['url']);
 
+    $vocab = tripal_get_vocabulary_details('local');
+    $this->addContextItem('local', $vocab['url']);
+
     $this->data['@id'] = $service_path;
     $this->data['@type'] = '';
   }