Open sidebar
public function show($id) { try { return new userResource(User::findOrFail($id)); }catch (\Exception $e) { return response()->json([$e->getMessage()]); } }
Close sidebar
Back
Please note that all pasted data is publicly available.
X (fomerly Twitter)
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
X (fomerly Twitter)
GitHub
Use setting