resource-action-api
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "resource-action-api", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,3 +33,3 @@ var {respond} = require('../request.js'); | ||
try { | ||
if (requireUser && !(user && user.id)) throwError({message: 'Something went wrong #100', key: 'userRequired'}); | ||
if (requireUser && !(user && user.id)) throwError({message: 'Your session is invalid or has expired. Please try logging in again.', key: 'userRequired'}); | ||
@@ -36,0 +36,0 @@ var data = await callback({...request.body, user, body: request.body, throwError}); |
82004