Socket
Socket
Sign inDemoInstall

seguir-express-middleware

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

5

index.js

@@ -110,3 +110,2 @@ /**

var ispersonal = req.body.ispersonal === 'true' || req.body.ispersonal === true;
console.dir(req.body);
var seguirId = getSeguirId(req);

@@ -353,3 +352,3 @@ seguir.addPost(seguirId, req.body.content, Date.now(), isprivate, ispersonal, function(err, post) {

* @apiDescription Gets a user feed
* @apiParam {Object} user expects req.user to be present, with req.user.seguirId
* @apiParam {Object} user users req.user.seguirId as the user id
*

@@ -359,3 +358,3 @@ */

var seguirId = getSeguirId(req);
seguir.getFeedForUser(seguirId, seguirId, 0, 50, function(err, feed) {
seguir.getFeedForUser(seguirId, req.params.user, 0, 50, function(err, feed) {
if(err) { return respondWithError(err, res); }

@@ -362,0 +361,0 @@ res.send(feed);

2

package.json
{
"name": "seguir-express-middleware",
"version": "0.1.3",
"version": "0.1.4",
"description": "Experss middleware for seguir self-hosted social network backend and API",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc