chore: fix some comments (#14394)

Signed-off-by: timesince <seekseat@icloud.com>
This commit is contained in:
timesince 2024-08-12 13:03:16 +08:00 committed by GitHub
parent 4d757865f4
commit 41936c16c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ export class NoteDeleteService {
this.deliverToConcerned(user, note, content);
}
// also deliever delete activity to cascaded notes
// also deliver delete activity to cascaded notes
const federatedLocalCascadingNotes = (cascadingNotes).filter(note => !note.localOnly && note.userHost == null); // filter out local-only notes
for (const cascadingNote of federatedLocalCascadingNotes) {
if (!cascadingNote.user) continue;

View file

@ -11,7 +11,7 @@ describe('API', () => {
expectType<Misskey.entities.MetaResponse>(res);
});
test('conditional respose type (meta)', async () => {
test('conditional response type (meta)', async () => {
const cli = new Misskey.api.APIClient({
origin: 'https://misskey.test',
credential: 'TOKEN'
@ -30,7 +30,7 @@ describe('API', () => {
expectType<Misskey.entities.MetaResponse>(res4);
});
test('conditional respose type (users/show)', async () => {
test('conditional response type (users/show)', async () => {
const cli = new Misskey.api.APIClient({
origin: 'https://misskey.test',
credential: 'TOKEN'