Browse Source

Minor adjustment to web services

Stephen Ficklin 7 năm trước cách đây
mục cha
commit
82ba0937ec
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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'] = '';
   }