Commit 3e0ac93d authored by nanahira's avatar nanahira

fix

parent df9486f9
Pipeline #6713 passed with stages
in 3 minutes and 55 seconds
...@@ -59,6 +59,9 @@ export class User { ...@@ -59,6 +59,9 @@ export class User {
cleanSensitiveData() { cleanSensitiveData() {
// this.email = '_masked'; // this.email = '_masked';
if (!this.name) {
delete this.name;
}
if (this.avatar) { if (this.avatar) {
this.avatar = this.avatar.replace('https://cdn01.moecube.com', 'https://cdn02.moecube.com:444'); this.avatar = this.avatar.replace('https://cdn01.moecube.com', 'https://cdn02.moecube.com:444');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment