mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-11 09:28:52 +00:00
Continue integration frontend refactor
This commit is contained in:
@@ -21,7 +21,7 @@ const getBot = async ({ workspaceId }: Props) => {
|
||||
}
|
||||
).then(async (res) => {
|
||||
if (res && res.status == 200) {
|
||||
return await res.json();
|
||||
return (await res.json()).bot;
|
||||
} else {
|
||||
console.log("Failed to get bot for project");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user