mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 22:03:44 +02:00
Make server listing and single server view API endpoints work
This commit is contained in:
@@ -22,6 +22,12 @@ class Server extends Model implements CleansAttributes, ValidableContract
|
||||
{
|
||||
use BelongsToThrough, Eloquence, Notifiable, Validable;
|
||||
|
||||
/**
|
||||
* The resource name for this model when it is transformed into an
|
||||
* API representation using fractal.
|
||||
*/
|
||||
const RESOURCE_NAME = 'server';
|
||||
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user