mirror of
https://github.com/warmbly/warmbly.git
synced 2026-10-04 00:02:05 +00:00
Merge pull request #701 from Maris-Business-Solutions/fix/org-risk-endpoint-path
feat: call the workspace risk endpoint at /organization/current/risk in getOrganizationRisk so the sending-restricted banner loads instead of 404ing
This commit is contained in:
@@ -4,7 +4,7 @@ import Request from "../../Request";
|
||||
export default async function getOrganizationRisk(): Promise<OrgRisk> {
|
||||
return await Request<OrgRisk>({
|
||||
method: "GET",
|
||||
url: "/organizations/current/risk",
|
||||
url: "/organization/current/risk",
|
||||
authorization: true,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user