Skip to content

Commit

Permalink
Merge pull request #1837 from statechannels/patsy-fixes
Browse files Browse the repository at this point in the history
Fix patsy authentication code
  • Loading branch information
lalexgap authored Nov 14, 2023
2 parents ca23778 + c152342 commit 237037c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-patsy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
steps:
- name: Deploy to Droplet
env:
DO_API_KEY: ${{ secrets.DO_API_KEY }}}
DO_API_KEY: ${{ secrets.DO_API_KEY }}
SSH_PRIVATE_KEY: ${{ secrets.PATSY_SSH_PRIVATE_KEY }}
DROPLET_IP: "165.22.197.200"
NAME: "nitro-payment-proxy"
Expand Down
1 change: 1 addition & 0 deletions rpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ func processRequest[T serde.RequestPayload, U serde.ResponsePayload](rs *RpcServ
err = checkTokenValidity(rpcRequest.Params.AuthToken, permission, 7*24*time.Hour)
if err != nil {
response := serde.NewJsonRpcErrorResponse(rpcRequest.Id, serde.InvalidAuthTokenError)
rs.logger.Warn(serde.InvalidAuthTokenError.Message)
return marshalResponse(response)
}

Expand Down

0 comments on commit 237037c

Please sign in to comment.