Add activity logging to most of the endpoints

This commit is contained in:
DaneEveritt 2022-05-29 19:26:28 -04:00
parent 287fd60891
commit 9b7af02690
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
11 changed files with 170 additions and 30 deletions

View file

@ -122,6 +122,11 @@ class Allocation extends Model
return !is_null($this->ip_alias);
}
public function toString(): string
{
return sprintf('%s:%s', $this->ip, $this->port);
}
/**
* Gets information for the server associated with this allocation.
*