Changed previous request type to enum