Skip to content

Commit

Permalink
🐞 fix(): remark 格式化失败
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonBegonia committed Jul 28, 2021
1 parent 27b2c03 commit c6acbef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ module.exports = class User {
this.pt_key = cookie.match(/pt_key=(.*?);/)[1];
}

if (this.remarks) {
if (remarks) {
this.remark = remarks.match(/remark=(.*?);/) && remarks.match(/remark=(.*?);/)[1];
}
}
Expand Down

0 comments on commit c6acbef

Please sign in to comment.