Add support for source_url in Mastodon\InstanceV2

This commit is contained in:
Hypolite Petovan 2023-10-03 20:55:15 -04:00
parent 8640afc82e
commit 705b2d4c41
2 changed files with 4 additions and 1 deletions

View file

@ -81,6 +81,7 @@ class InstanceV2 extends BaseDataTransferObject
string $domain,
string $title,
string $version,
string $source_url,
string $description,
Usage $usage,
Thumbnail $thumbnail,
@ -94,7 +95,7 @@ class InstanceV2 extends BaseDataTransferObject
$this->domain = $domain;
$this->title = $title;
$this->version = $version;
$this->source_url = null; //not supported yet
$this->source_url = $source_url;
$this->description = $description;
$this->usage = $usage;
$this->thumbnail = $thumbnail;