Skip to content

Interactive Tutorial: provided answer for Macro assignment fails second task #650

@with-heart

Description

@with-heart

What is the type of issue?

Something else

What is the issue?

If I copy and paste the provided answer for the Macro page's assignment, the second assignment task "Check if body is in Fibonacci Sequence" fails. This is due to the fact that the provided answer creates a route for /fibo instead of just /:

.post('/fibo', ({ body }) => body, {
		isFibonacci: true
	})

Where did you find it?

https://elysiajs.com/tutorial/patterns/macro/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions