From fe6f48691419daadf07ae47a4a9ede9580368a02 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 12 Jan 2019 01:25:21 -0700 Subject: [PATCH] Fix Follow validator --- app/Util/ActivityPub/Validator/Follow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Validator/Follow.php b/app/Util/ActivityPub/Validator/Follow.php index 1bd01b5de..a9c6ca2ec 100644 --- a/app/Util/ActivityPub/Validator/Follow.php +++ b/app/Util/ActivityPub/Validator/Follow.php @@ -14,7 +14,7 @@ class Follow { 'id' => 'required|string', 'type' => [ 'required', - Rule::in(['Like']) + Rule::in(['Follow']) ], 'actor' => 'required|url|active_url', 'object' => 'required|url|active_url'