Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
fix(embed): use data-embed v2 (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
tripodsan authored Mar 11, 2021
1 parent b9455cf commit 3827070
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/html/fetch-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function fetch({ content: { mdast } }, {
uri = resolver.createURL({
package: 'helix-services',
name: 'data-embed',
version: 'v1',
version: 'v2',
});
} else {
uri = new URL(versionLock.transformActionURL(DATA_EMBED_SERVICE));
Expand Down
2 changes: 1 addition & 1 deletion test/testDataEmbeds.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ describe('Integration Test with Data Embeds (resolver)', () => {
.defaultReplyHeaders({
'Cache-Control': 'max-age=3600',
})
.get('/api/v1/web/helix/helix-services/data-embed@v1')
.get('/api/v1/web/helix/helix-services/data-embed@v2')
.query(true)
.reply(() => [status, data]);

Expand Down

0 comments on commit 3827070

Please sign in to comment.