@loomcore/api 0.1.128 → 0.1.129

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.
@@ -201,7 +201,7 @@ export class AuthService extends MultiTenantApiService {
201
201
  }
202
202
  const httpOrHttps = config.env === 'local' ? 'http' : 'https';
203
203
  const urlEncodedEmail = encodeURIComponent(emailAddress);
204
- const resetPasswordLink = `${httpOrHttps}://${config.app.name}/reset-password/${passwordResetToken.token}/${urlEncodedEmail}`;
204
+ const resetPasswordLink = `${httpOrHttps}://${config.network.hostName}${config.network.externalPort ? `:${config.network.externalPort}` : ''}/reset-password/${passwordResetToken.token}/${urlEncodedEmail}`;
205
205
  await this.emailService.sendResetPasswordEmail(emailAddress, resetPasswordLink);
206
206
  }
207
207
  async resetPassword(email, passwordResetToken, password) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loomcore/api",
3
- "version": "0.1.128",
3
+ "version": "0.1.129",
4
4
  "private": false,
5
5
  "description": "Loom Core Api - An opinionated Node.js api using Typescript, Express, and MongoDb or PostgreSQL",
6
6
  "scripts": {