mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 13:23:45 +02:00
Cleanup node routes, cleanup remote token
This commit is contained in:
@@ -48,4 +48,14 @@ class NodeConfigurationToken extends Model
|
||||
* @var array
|
||||
*/
|
||||
protected $dates = ['created_at', 'updated_at', 'expires_at'];
|
||||
|
||||
/**
|
||||
* Gets the node associated with a configuration token.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function node()
|
||||
{
|
||||
return $this->belongsTo(Node::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user