mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-31 13:05:47 +08:00
Built out interfaces & endpoints for API token managment
This commit is contained in:
@ -5,5 +5,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class ApiToken extends Model
|
||||
{
|
||||
protected $fillable = ['name', 'expires_at'];
|
||||
|
||||
protected $casts = [
|
||||
'expires_at' => 'datetime:Y-m-d'
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user