浏览代码

Minor adjustment to web services

Stephen Ficklin 7 年之前
父节点
当前提交
82ba0937ec
共有 1 个文件被更改,包括 3 次插入0 次删除
  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'] = '';
   }