mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Helpers.php
This commit is contained in:
parent
4f2faed756
commit
d723e207fd
1 changed files with 5 additions and 0 deletions
|
@ -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') {
|
||||||
|
|
Loading…
Reference in a new issue