this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at sync-tool 27 lines 704 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package ozone 4 5// schema: tools.ozone.moderation.getRecord 6 7import ( 8 "context" 9 10 "github.com/bluesky-social/indigo/lex/util" 11) 12 13// ModerationGetRecord calls the XRPC method "tools.ozone.moderation.getRecord". 14func ModerationGetRecord(ctx context.Context, c util.LexClient, cid string, uri string) (*ModerationDefs_RecordViewDetail, error) { 15 var out ModerationDefs_RecordViewDetail 16 17 params := map[string]interface{}{} 18 if cid != "" { 19 params["cid"] = cid 20 } 21 params["uri"] = uri 22 if err := c.LexDo(ctx, util.Query, "", "tools.ozone.moderation.getRecord", params, nil, &out); err != nil { 23 return nil, err 24 } 25 26 return &out, nil 27}