fixed

Fixed the Create Layer API endpoint