Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

Commit b32327e

Browse files
committed
instantiated new endpoint
1 parent f311de4 commit b32327e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/FortniteApi.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace FortniteApi;
44

55
use FortniteApi\Components\Endpoints\CosmeticsEndpoint;
6+
use FortniteApi\Components\Endpoints\CreatorCodeEndpoint;
67
use FortniteApi\Components\Endpoints\NewsEndpoint;
78
use FortniteApi\Components\Endpoints\ShopEndpoint;
89
use FortniteApi\Config\Config;
@@ -31,6 +32,13 @@ class FortniteApi
3132
*/
3233
public $news;
3334

35+
/**
36+
* @inheritDoc
37+
*
38+
* @var CreatorCodeEndpoint $creatorCode
39+
*/
40+
public $creatorCode;
41+
3442
/**
3543
* Constructs a new FortniteApi instance.
3644
*/
@@ -39,6 +47,7 @@ public function __construct()
3947
$this->cosmetics = new CosmeticsEndpoint();
4048
$this->shop = new ShopEndpoint();
4149
$this->news = new NewsEndpoint();
50+
$this->creatorCode = new CreatorCodeEndpoint();
4251
}
4352

4453
/**

0 commit comments

Comments
 (0)