From: charleswrayjr Date: Sat, 13 Sep 2025 14:01:43 +0000 (-0500) Subject: Adding auth, media, and messaging. X-Git-Url: https://git.phasecustomsoft.com/static/git-logo.png?a=commitdiff_plain;h=64d83b016323696185d57c2379515981a880109c;p=phs-api.git Adding auth, media, and messaging. --- diff --git a/src/models/authentication.model.js b/src/models/authentication.model.js index 79cf0b2..df6a08a 100644 --- a/src/models/authentication.model.js +++ b/src/models/authentication.model.js @@ -178,15 +178,6 @@ class Authentication extends Model { } ); }; - // noinspection JSUnusedGlobalSymbols - /** - * Get authentication data without sensitive information - * @returns {Omit} Authentication data - */ - to_safe_json() { - const { password, password_salt, ...safe_data } = this.toJSON(); - return safe_data; - }; } module.exports = Authentication; \ No newline at end of file