From 2d2cb24505e2a93d1692f1edd14cd5c069b92976 Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Fri, 17 Nov 2023 09:31:45 -0800 Subject: [PATCH] temporarily remove the did doc field from auth response --- api/atproto/serverrefreshSession.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/api/atproto/serverrefreshSession.go b/api/atproto/serverrefreshSession.go index 4c500538d..baf6625f8 100644 --- a/api/atproto/serverrefreshSession.go +++ b/api/atproto/serverrefreshSession.go @@ -7,17 +7,16 @@ package atproto import ( "context" - "github.com/bluesky-social/indigo/lex/util" "github.com/bluesky-social/indigo/xrpc" ) // ServerRefreshSession_Output is the output of a com.atproto.server.refreshSession call. type ServerRefreshSession_Output struct { - AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` - Did string `json:"did" cborgen:"did"` - DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` - Handle string `json:"handle" cborgen:"handle"` - RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` + AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` + Did string `json:"did" cborgen:"did"` + //DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` + Handle string `json:"handle" cborgen:"handle"` + RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` } // ServerRefreshSession calls the XRPC method "com.atproto.server.refreshSession".