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.2 to 0.1.3

5

index.js

@@ -108,4 +108,5 @@ /**

router.post(u('addPost'), authMiddleware, function(req, res) {
var isprivate = req.body.isprivate === 'true';
var ispersonal = req.body.ispersonal === 'true';
var isprivate = req.body.isprivate === 'true' || req.body.isprivate === true;
var ispersonal = req.body.ispersonal === 'true' || req.body.ispersonal === true;
console.dir(req.body);
var seguirId = getSeguirId(req);

@@ -112,0 +113,0 @@ seguir.addPost(seguirId, req.body.content, Date.now(), isprivate, ispersonal, function(err, post) {

2

package.json
{
"name": "seguir-express-middleware",
"version": "0.1.2",
"version": "0.1.3",
"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