Skip to content

Commit

Permalink
バックエンド分離
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net committed Oct 19, 2024
1 parent 26e7dc7 commit 513899e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG_YOJO.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Cherrypick 4.11.1
- Fix: 通知APIがページ境界で重複する問題の修正
- Change: 絵文字を登録する際にシステムユーザーとして再アップロードするように
(Cherry-picked from https://github.com/team-shahu/misskey/pull/11)
- Enhance: `api/emoji``host`を指定できるように

### Misc

## 1.0.1
Expand Down
7 changes: 1 addition & 6 deletions packages/backend/src/server/api/endpoints/emoji.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ export const paramDef = {
name: {
type: 'string',
},
host: {
type: 'string',
nullable: true,
default: null,
},
},
required: ['name'],
} as const;
Expand All @@ -51,7 +46,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const emoji = await this.emojisRepository.findOneOrFail({
where: {
name: ps.name,
host: ps.host ?? IsNull(),
host: IsNull(),
},
});

Expand Down
2 changes: 0 additions & 2 deletions packages/cherrypick-js/src/autogen/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21294,8 +21294,6 @@ export type operations = {
content: {
'application/json': {
name: string;
/** @default null */
host?: string | null;
};
};
};
Expand Down

0 comments on commit 513899e

Please sign in to comment.