// 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/xrpc"
)

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

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

	return &out, nil
}
