// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package ozone

// schema: tools.ozone.moderation.getRepo

import (
	"context"

	"github.com/bluesky-social/indigo/lex/util"
)

// ModerationGetRepo calls the XRPC method "tools.ozone.moderation.getRepo".
func ModerationGetRepo(ctx context.Context, c util.LexClient, did string) (*ModerationDefs_RepoViewDetail, error) {
	var out ModerationDefs_RepoViewDetail

	params := map[string]interface{}{}
	params["did"] = did
	if err := c.LexDo(ctx, util.Query, "", "tools.ozone.moderation.getRepo", params, nil, &out); err != nil {
		return nil, err
	}

	return &out, nil
}
