fix: Doc type

This commit is contained in:
Alex
2024-09-08 22:52:09 +01:00
parent 6c0da2ea94
commit 2fce25b0c8
4 changed files with 9 additions and 23 deletions

View File

@@ -50,9 +50,9 @@ export default function CreateAPIKeyModal({
};
}
return {
name: doc.name as string,
id: doc.docLink as string,
type: 'default',
name: doc.name,
id: doc.id ?? 'default',
type: doc.type ?? 'default',
};
})
: [];