fix adding a user

This commit is contained in:
Alexander Kacheryants 2024-04-07 22:54:45 +03:00
parent 16d261be6a
commit aca3d37a7f

View File

@ -59,6 +59,7 @@ export class StorageService {
}
public async addReaderUser(user: readerUser): Promise<void | undefined> {
const users = await this.getReaderUsers();
users.push(user);
return this.set('readerUsers', users);
}