- Changed the parameter type in the GET function to a promise, ensuring proper resolution of the `id` before use. - Improved error handling by awaiting the parameters, enhancing the robustness of the API route.
- Changed the parameter type in the GET function to a promise, ensuring proper resolution of the `id` before use. - Improved error handling by awaiting the parameters, enhancing the robustness of the API route.