Cannot search orderables and supervisory nodes with access token provided by query params

Description

Steps to reproduce:
1. Get an access token for any user
2. Call /api/orderables?code=bcg20&access_token=token_from_step_1

Expected Behavior:
List of matching orderables is returned

Actual:

Acceptance criteria:

  • I can search orderables by providing access token with query params

  • When provided any wrong query param, message is valid (it should say orderables, not facilities.)

  • check that similar issue with /api/supervisoryNodes is fixed

Environment

None

Assignee

Paweł Albecki

Reporter

Paweł Albecki

Labels

Story Points

0.5

Time tracking

8h

Sprint

None

Fix versions

Affects versions

Priority

Trivial
Configure