From 553059b57f000fda1b8f62c854bb85f155cebe4b Mon Sep 17 00:00:00 2001 From: Lakhan Samani Date: Wed, 12 Jul 2023 23:24:11 +0530 Subject: [PATCH] Update struct for validateSessionInput --- validate_session.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate_session.go b/validate_session.go index c2fb575..475f7ce 100644 --- a/validate_session.go +++ b/validate_session.go @@ -4,7 +4,7 @@ import "encoding/json" // ValidateSessionInput defines attributes for validate_session request type ValidateSessionInput struct { - Cookie string `json:"token,omitempty"` + Cookie string `json:"cookie,omitempty"` Roles []*string `json:"roles,omitempty"` }