mirror of
https://github.com/Unleash/unleash.git
synced 2025-11-10 01:19:53 +01:00
fix: update splash nonexistent user (#10873)
This commit is contained in:
parent
01c0d56277
commit
8b95cb5386
@ -45,6 +45,11 @@ export default class UserSplashService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async updateSplash(splash: IUserSplash): Promise<IUserSplash> {
|
async updateSplash(splash: IUserSplash): Promise<IUserSplash> {
|
||||||
|
try {
|
||||||
return this.userSplashStore.updateSplash(splash);
|
return this.userSplashStore.updateSplash(splash);
|
||||||
|
} catch (err) {
|
||||||
|
this.logger.warn(err);
|
||||||
|
return splash;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user