mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-12 19:29:15 +00:00
greptile review fixes
This commit is contained in:
@@ -13,6 +13,7 @@ export const AUDIT_LOG_STREAM_PROVIDER_MAP: Record<
|
||||
[LogProvider.Splunk]: { name: "Splunk", image: "Splunk.png", size: 65 }
|
||||
};
|
||||
|
||||
// Strictly for showing to the client in the front-end
|
||||
export function getProviderUrl(
|
||||
logStream: DiscriminativePick<TAuditLogStream, "provider" | "credentials">
|
||||
) {
|
||||
|
||||
@@ -16,7 +16,7 @@ export const useCreateAuditLogStream = () => {
|
||||
mutationFn: async ({ provider, ...params }: TCreateAuditLogStreamDTO) => {
|
||||
const { data } = await apiRequest.post<{ auditLogStream: TAuditLogStream }>(
|
||||
`/api/v1/audit-log-streams/${provider}`,
|
||||
{ ...params, provider }
|
||||
params
|
||||
);
|
||||
|
||||
return data.auditLogStream;
|
||||
|
||||
+1
-1
@@ -255,7 +255,7 @@ export const AuditLogStreamTable = () => {
|
||||
{isPending && (
|
||||
<TableSkeleton
|
||||
innerKey="audit-log-streams-table"
|
||||
columns={4}
|
||||
columns={3}
|
||||
key="audit-log-streams"
|
||||
/>
|
||||
)}
|
||||
|
||||
+1
-1
@@ -92,7 +92,7 @@ export const LogStreamProviderSelect = ({ onSelect }: Props) => {
|
||||
</button>
|
||||
);
|
||||
})}
|
||||
{!filteredOptions?.length && (
|
||||
{!filteredOptions.length && (
|
||||
<EmptyState
|
||||
className="col-span-full mt-40"
|
||||
title="No providers match search"
|
||||
|
||||
Reference in New Issue
Block a user