sg-node-api
Advanced tools
Comparing version 1.1.23 to 1.1.24
@@ -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
118718