Skip to content

Add middleware to pull out auth state from the JWT. #105

Add middleware to pull out auth state from the JWT.

Add middleware to pull out auth state from the JWT. #105

Triggered via pull request October 1, 2024 18:41
Status Failure
Total duration 36s
Billable time 1m
Artifacts

backend.yaml

on: pull_request
lint-and-test
26s
lint-and-test
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Incompatible parameter type [6]: nwc_backend/api_handlers/__tests__/update_connection_test.py#L24
In call `jwt_for_user`, for 1st positional argument, expected `User` but got `UUID`.
Incompatible parameter type [6]: nwc_backend/api_handlers/__tests__/update_connection_test.py#L61
In call `jwt_for_user`, for 1st positional argument, expected `User` but got `UUID`.
Incompatible parameter type [6]: nwc_backend/api_handlers/__tests__/update_connection_test.py#L89
In call `jwt_for_user`, for 1st positional argument, expected `User` but got `UUID`.
lint-and-test
Process completed with exit code 1.
lint-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-and-test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/