mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 16:00:32 +00:00
remove encryption key
This commit is contained in:
@@ -19,9 +19,6 @@ export class NotificationService {
|
|||||||
|
|
||||||
constructor(private repository: GetterRepository) {}
|
constructor(private repository: GetterRepository) {}
|
||||||
|
|
||||||
private encryptionKey = crypto.randomBytes(32);
|
|
||||||
private iv = crypto.randomBytes(16);
|
|
||||||
|
|
||||||
public reloadAPNsTokenIfTimePassed() {
|
public reloadAPNsTokenIfTimePassed() {
|
||||||
if (this.lastReloadedTimeForAPNsIsTooRecent()) {
|
if (this.lastReloadedTimeForAPNsIsTooRecent()) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user