Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Remove unused token (#3331)
Browse files Browse the repository at this point in the history
Part of #3225
  • Loading branch information
S7evinK authored Feb 19, 2024
1 parent e9deb52 commit ecb7b38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clientapi/routing/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ func UploadKeys(req *http.Request, keyAPI api.ClientKeyAPI, device *api.Device)

type queryKeysRequest struct {
Timeout int `json:"timeout"`
Token string `json:"token"`
DeviceKeys map[string][]string `json:"device_keys"`
}

Expand All @@ -119,7 +118,6 @@ func QueryKeys(req *http.Request, keyAPI api.ClientKeyAPI, device *api.Device) u
UserID: device.UserID,
UserToDevices: r.DeviceKeys,
Timeout: r.GetTimeout(),
// TODO: Token?
}, &queryRes)
return util.JSONResponse{
Code: 200,
Expand Down

0 comments on commit ecb7b38

Please sign in to comment.