Update Helpers.php

This commit is contained in:
Daniel Supernault 2024-07-23 01:30:27 -06:00
parent 4f2faed756
commit d723e207fd
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -858,6 +858,11 @@ class Helpers
return self::profileFirstOrNew($url); return self::profileFirstOrNew($url);
} }
public static function getSignedFetch($url)
{
return ActivityPubFetchService::get($url);
}
public static function sendSignedObject($profile, $url, $body) public static function sendSignedObject($profile, $url, $body)
{ {
if (app()->environment() !== 'production') { if (app()->environment() !== 'production') {