groups: add events to eventlog
This commit is contained in:
@@ -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 = ?', [ '' ]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user