porting all github actions from bluesky-social/indigo to tangled CI
at main 656 B view raw
1// Copied from indigo:api/atproto/identitygetRecommendedDidCredentials.go 2 3package agnostic 4 5// schema: com.atproto.identity.getRecommendedDidCredentials 6 7import ( 8 "context" 9 "encoding/json" 10 11 "github.com/bluesky-social/indigo/lex/util" 12) 13 14// IdentityGetRecommendedDidCredentials calls the XRPC method "com.atproto.identity.getRecommendedDidCredentials". 15func IdentityGetRecommendedDidCredentials(ctx context.Context, c util.LexClient) (*json.RawMessage, error) { 16 var out json.RawMessage 17 18 if err := c.LexDo(ctx, util.Query, "", "com.atproto.identity.getRecommendedDidCredentials", nil, nil, &out); err != nil { 19 return nil, err 20 } 21 22 return &out, nil 23}