Skip to content

Commit

Permalink
fix(backend): followedMessageではなくdescriptionになっていたのを修正 (#14908)
Browse files Browse the repository at this point in the history
  • Loading branch information
4ster1sk authored Nov 7, 2024
1 parent 0b97606 commit 794cb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/endpoints/i/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 794cb9f

Please sign in to comment.