1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 21:58:58 +09:00
This commit is contained in:
syuilo 2018-04-03 23:59:03 +09:00
parent 9694c1fc37
commit 18f317a4ac

View File

@ -2,7 +2,7 @@ import act from '../../act';
import unfollow from './unfollow';
import Resolver from '../../resolver';
export default async (resolver: Resolver, actor, activity) => {
export default async (resolver: Resolver, actor, activity): Promise<void> => {
if ('actor' in activity && actor.account.uri !== activity.actor) {
throw new Error();
}
@ -21,6 +21,4 @@ export default async (resolver: Resolver, actor, activity) => {
await unfollow(result.object);
}
}));
return null;
};