]> git.mxchange.org Git - friendica.git/commitdiff
Change Mastodon Instance V2 active_monthly field to correct active_month
authorHank Grabowski <hankgrabowski@gmail.com>
Mon, 27 Feb 2023 03:56:56 +0000 (22:56 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Mon, 27 Feb 2023 03:56:56 +0000 (22:56 -0500)
src/Object/Api/Mastodon/InstanceV2/UserStats.php

index 8f398e0d5a1343c54c069bf8d5dc0029b9dfe727..34fb3a6556649a3b53797e5988d7fc74637d5625 100644 (file)
@@ -31,13 +31,13 @@ use Friendica\BaseDataTransferObject;
 class UserStats extends BaseDataTransferObject
 {
        /** @var int */
-       protected $active_monthly = 0;
+       protected $active_month = 0;
 
        /**
         * @param $active_monthly
         */
-       public function __construct($active_monthly)
+       public function __construct($active_month)
        {
-               $this->active_monthly = $active_monthly;
+               $this->active_month = $active_month;
        }
 }