Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quintype-backend

Package Overview
Dependencies
Maintainers
7
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quintype-backend - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

7

index.js

@@ -41,4 +41,5 @@ 'use strict';

getRelatedStories(client) {
const sectionId = _.get(this, ['sections', 0, 'id'], null);
return client
.getRelatedStories(this.id)
.getRelatedStories(this.id, sectionId)
.then(response => _.map(response["related-stories"], story => Story.build(story)));

@@ -300,6 +301,6 @@ }

getRelatedStories(storyId) {
getRelatedStories(storyId = null, sectionId = null) {
return rp({
method: 'GET',
uri: this.baseUrl + "/api/v1/stories/"+ storyId + "/related-stories",
uri: `${this.baseUrl}/api/v1/stories/${storyId}/related-stories?section-id=${sectionId}`,
json: true

@@ -306,0 +307,0 @@ })

{
"name": "quintype-backend",
"version": "1.4.0",
"version": "1.4.1",
"description": "client for accessing quintype API",
"main": "index.js",
"scripts": {
"prepublishOnly": "npm install && git diff --quiet && git tag v$(cat package.json | grep version | head -n1 | cut -d \\\" -f 4) && git push --tags origin master"
},

@@ -9,0 +9,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc