Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kilvn committed Apr 9, 2021
1 parent 4db1409 commit a0da585
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/api/Fcm.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
class Fcm extends Base
{
protected static self $instance;
protected string $env;
protected string $test_key;
protected string $env = 'dev';
protected string $test_key = '';
protected array $header_data = [];

public function __construct()
{
parent::__construct();

$this->timestamp *= 1000;
$this->env = strtolower($_ENV['APP_ENV']);
$this->env = $_ENV['APP_ENV'];
$this->header_data = [
'Content-Type' => 'application/json; charset=utf-8',
'appId' => $_ENV['FCM_APPID'],
Expand Down

0 comments on commit a0da585

Please sign in to comment.