@yrpri/api 9.0.217 → 9.0.218

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ const logoutFromSession = (req, res, statusCode = 200, callback) => {
27
27
  return callback(err);
28
28
  }
29
29
  }
30
- res.clearCookie('yrpri.sid', { path: '/' });
30
+ res.clearCookie(process.env.COOKIE_NAME || 'yrpri.sid', { path: '/' });
31
31
  log.info("Session destroyed successfully");
32
32
  if (callback) {
33
33
  callback();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yrpri/api",
3
- "version": "9.0.217",
3
+ "version": "9.0.218",
4
4
  "license": "MIT",
5
5
  "author": "Robert Bjarnason & Citizens Foundation",
6
6
  "repository": {
@@ -25,7 +25,7 @@
25
25
  "@google-cloud/vertexai": "^1.10.0",
26
26
  "@google-cloud/vision": "^5.1.0",
27
27
  "@node-saml/passport-saml": "^5.0.1",
28
- "@policysynth/agents": "^1.3.170",
28
+ "@policysynth/agents": "^1.3.171",
29
29
  "async": "^3.2.6",
30
30
  "authorized": "^1.0.0",
31
31
  "aws-sdk": "^2.1692.0",