You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relates to #109
A duplicate GET('') handler was left in the activity.controllers.ts file from Pull Request #109. This results in the correct handler with the numEvents param being ignored resulting in the default 5 events always returned, even with a different numEvents parameter passed in.
Since both of the paths are GET(' '), the first one is hit and the second one (the one with the numEvents param) is ignored.
Proposed resolution: Remove the first handler and rename the remaining handler to match the first.
The text was updated successfully, but these errors were encountered:
Relates to #109
A duplicate GET('') handler was left in the activity.controllers.ts file from Pull Request #109. This results in the correct handler with the numEvents param being ignored resulting in the default 5 events always returned, even with a different numEvents parameter passed in.
Since both of the paths are GET(' '), the first one is hit and the second one (the one with the numEvents param) is ignored.
Proposed resolution: Remove the first handler and rename the remaining handler to match the first.

The text was updated successfully, but these errors were encountered: