mirror of
https://github.com/anonaddy/anonaddy
synced 2026-04-26 01:25:06 +02:00
Migrate from Passport to Sanctum for API
This commit is contained in:
@@ -26,7 +26,7 @@ class AliasResource extends JsonResource
|
||||
'recipients' => RecipientResource::collection($this->whenLoaded('recipients')),
|
||||
'created_at' => $this->created_at->toDateTimeString(),
|
||||
'updated_at' => $this->updated_at->toDateTimeString(),
|
||||
'deleted_at' => $this->deleted_at ? $this->deleted_at->toDateTimeString() : null,
|
||||
'deleted_at' => $this->deleted_at?->toDateTimeString(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user