Browse Source

Minor change for WS context files

laceysanderson 7 years ago
parent
commit
d82e9e337f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tripal_ws/includes/TripalWebService.inc

+ 2 - 2
tripal_ws/includes/TripalWebService.inc

@@ -207,7 +207,7 @@ class TripalWebService {
     foreach ($this->path as $element) {
       $context_filename .= '.' . $element;
     }
-    $context_filename .= '.context.jsonld';
+    $context_filename .= '.context.json';
     $context_filename = strtolower($context_filename);
     $context_dir = 'public://tripal/ws/context';
     $context_file_path = $context_dir . '/' . $context_filename;
@@ -732,4 +732,4 @@ class TripalWebService {
     // Then set the type
     $resource->setType($key);
   }
-}
+}