Skip to content

Commit 81df5c6

Browse files
committed
Fix .meta files not being returned as Turtle
1 parent 0dc8fe2 commit 81df5c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/resource-mapper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ResourceMapper {
1414
includeHost,
1515
defaultContentType,
1616
indexName = 'index',
17-
overrideTypes = { acl: 'text/turtle' }
17+
overrideTypes = { acl: 'text/turtle', meta: 'text/turtle' }
1818
}) {
1919
this._rootUrl = this._removeTrailingSlash(rootUrl)
2020
this._rootPath = this._removeTrailingSlash(rootPath)

test/integration/account-creation-oidc-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ describe('AccountManager (OIDC account creation tests)', function () {
166166
}
167167
var graph = $rdf.graph()
168168
$rdf.parse(
169-
data.body.toString(),
169+
data.text,
170170
graph,
171171
'https://nicola.' + host + '/.meta',
172172
'text/turtle')

0 commit comments

Comments
 (0)