Skip to content

Commit

Permalink
Merge pull request #63 from johntrickett86/fix-keepalive-command-type…
Browse files Browse the repository at this point in the history
…error

TypeError on Keep Alive artisan command
  • Loading branch information
dcblogdev authored May 8, 2024
2 parents 3f0b252 + 363ef48 commit d916921
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Models/XeroToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,8 @@ protected function expires(): Attribute
fn(): DateTimeInterface => $this->updated_at->addSeconds($this->expires_in)
);
}

protected $casts = [
'expires_in' => 'integer',
];
}

0 comments on commit d916921

Please sign in to comment.