feat(kol): repo support for cross-tenant revision lookup
This commit is contained in:
@@ -42,6 +42,7 @@ type KolSubscriptionPrompt struct {
|
||||
SubscriptionEndAt *time.Time
|
||||
PromptStatus string
|
||||
PackageStatus string
|
||||
CreatorTenantID int64
|
||||
}
|
||||
|
||||
type CreateAccessRowInput struct {
|
||||
@@ -253,6 +254,7 @@ func (r *kolSubscriptionRepository) GetSubscriptionPromptByID(ctx context.Contex
|
||||
SubscriptionEndAt: subEndAt,
|
||||
PromptStatus: row.PromptStatus,
|
||||
PackageStatus: row.PackageStatus,
|
||||
CreatorTenantID: row.CreatorTenantID,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user