Skip to content

Problems with routes #1030

@kokujin

Description

@kokujin

Given these routes:
{ method: 'GET', path: '/profiles/{id?}', handler: profiles.getProfile},
{ method: 'GET', path: '/profiles/{ownerid}/messages/{id?}', handler: messages.getMessage }

Why do I get this error?

"Error: Handler must appear once and only once"

Thanks

Metadata

Metadata

Assignees

Labels

bugBug or defect

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions