New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sg-node-api

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sg-node-api - npm Package Compare versions

Comparing version 1.1.23 to 1.1.24

4

models/Contract.js

@@ -177,3 +177,3 @@ "use strict";

user_id = (user_id && user_id.id) || user_id || ctx.session.user.get('id')
await req.make(ctx, '/users/' + user_id + '/contracts', {
await req.make(ctx, '/users/' + user_id + '/contracts/', {
method: 'GET'

@@ -206,3 +206,3 @@ }).then( async response => {

self.findByGoal = async (ctx, id) => {
const ret = await req.make(ctx, '/goals/' + id + '/contracts', {
const ret = await req.make(ctx, '/goals/' + id + '/contracts/', {
method: 'GET',

@@ -209,0 +209,0 @@ }).then( response => {

{
"name": "sg-node-api",
"version": "1.1.23",
"version": "1.1.24",
"description": "Shared Goals API implemented as Node.JS library. API for telegram bot, www-clients and other usages",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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