|
@@ -854,7 +854,7 @@ class PassportService {
|
|
|
if (user == null) {
|
|
if (user == null) {
|
|
|
throw new Error('user not found');
|
|
throw new Error('user not found');
|
|
|
}
|
|
}
|
|
|
- if (user.imageUrlCached != null) {
|
|
|
|
|
|
|
+ if (user.imageUrlCached == null) {
|
|
|
await user.updateImageUrlCached();
|
|
await user.updateImageUrlCached();
|
|
|
await user.save();
|
|
await user.save();
|
|
|
}
|
|
}
|