groups: add events to eventlog

This commit is contained in:
Girish Ramakrishnan
2024-12-04 09:48:25 +01:00
parent fdf8025a02
commit 3b9d617e37
13 changed files with 113 additions and 94 deletions

View File

@@ -51,7 +51,7 @@ exports = module.exports = {
getBackgroundImage,
setBackgroundImage,
resetSource,
resetSources,
parseDisplayName,
@@ -970,7 +970,7 @@ async function setBackgroundImage(id, backgroundImage) {
if (result.length === 0) throw new BoxError(BoxError.NOT_FOUND, 'User not found');
}
async function resetSource() {
async function resetSources() {
await database.query('UPDATE users SET source = ?', [ '' ]);
}