Skip to content

Commit

Permalink
Merge branch 'hotfix/1.4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
PofMagicfingers committed Jun 8, 2020
2 parents 4224a5f + 663cf57 commit f207628
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "podcloud-feeds",
"version": "1.4.0",
"version": "1.4.1",
"description": "GraphQL API for podcloud",
"scripts": {
"test": "NODE_ENV=test mocha --opts test/mocha.opts",
Expand Down
3 changes: 1 addition & 2 deletions src/schema/types/resolvers/enclosure.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ const Enclosure = {
url(enclosure, args, ctx) {
return (
(empty(enclosure.item.feed.url_prefix)
? ""
? "https://"
: enclosure.item.feed.url_prefix) +
"https://" +
ctx.hosts.stats +
"/" +
enclosure.item.feed.identifier +
Expand Down
2 changes: 1 addition & 1 deletion test/src/schema/types/enclosure.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ describe("Enclosure Graph Object", () => {
context
)
).to.equals(
"https://michel.stats/https://" +
"https://michel.stats/" +
context.hosts.stats +
"/blog-de-toto/tata/enclosure." +
1337 +
Expand Down

0 comments on commit f207628

Please sign in to comment.