mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 02:36:43 -06:00
fix(backend): followedMessageではなくdescriptionになっていたのを修正 (#14908)
This commit is contained in:
parent
0b976064ca
commit
794cb9ffe2
1 changed files with 1 additions and 1 deletions
|
@ -465,7 +465,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
const newName = updates.name === undefined ? user.name : updates.name;
|
||||
const newDescription = profileUpdates.description === undefined ? profile.description : profileUpdates.description;
|
||||
const newFields = profileUpdates.fields === undefined ? profile.fields : profileUpdates.fields;
|
||||
const newFollowedMessage = profileUpdates.description === undefined ? profile.followedMessage : profileUpdates.followedMessage;
|
||||
const newFollowedMessage = profileUpdates.followedMessage === undefined ? profile.followedMessage : profileUpdates.followedMessage;
|
||||
|
||||
if (newName != null) {
|
||||
let hasProhibitedWords = false;
|
||||
|
|
Loading…
Reference in a new issue