@moneypot/hub 1.16.3 → 1.16.4

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.
@@ -4,7 +4,7 @@ import { assert } from "tsafe";
4
4
  import { GET_USER_FROM_USER_TOKEN } from "../graphql-queries.js";
5
5
  import { exactlyOneRow, maybeOneRow } from "../db/util.js";
6
6
  import { createGraphqlClient } from "../graphql-client.js";
7
- import { constant, context, error, object, sideEffect, } from "postgraphile/grafast";
7
+ import { constant, context, object, sideEffect } from "postgraphile/grafast";
8
8
  import { withPgPoolTransaction, } from "../db/index.js";
9
9
  import { logger } from "../logger.js";
10
10
  import * as jwtService from "../services/jwt-service.js";
@@ -114,7 +114,7 @@ export const HubAuthenticatePlugin = extendSchema(() => {
114
114
  throw new GraphQLError(errorInfo.message);
115
115
  }
116
116
  }
117
- throw error;
117
+ throw e;
118
118
  }
119
119
  const result = res.userFromUserToken;
120
120
  if (!result || !result.user || !result.experience) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneypot/hub",
3
- "version": "1.16.3",
3
+ "version": "1.16.4",
4
4
  "author": "moneypot.com",
5
5
  "homepage": "https://moneypot.com/hub",
6
6
  "keywords": [