fix(userflair): Fix wrong assignment for css

This commit is contained in:
FoxxMD
2022-01-19 13:10:11 -05:00
parent e3ceb90d6f
commit 7e0c34b6a3

View File

@@ -12,7 +12,7 @@ export class UserFlairAction extends Action {
super(options);
this.text = options.text === null || options.text === '' ? undefined : options.text;
this.css = options.css === null || options.text === '' ? undefined : options.text;
this.css = options.css === null || options.css === '' ? undefined : options.css;
this.flair_template_id = options.flair_template_id === null || options.flair_template_id === '' ? undefined : options.flair_template_id;
}