mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 03:46:43 -06:00
chore: fix some comments (#14394)
Signed-off-by: timesince <seekseat@icloud.com>
This commit is contained in:
parent
4d757865f4
commit
41936c16c4
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue