Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix type.

Brian Caof2f55170513d
diff --git a/src/pages/api/users/index.ts b/src/pages/api/users/index.ts
index 0b523c70c..991986e87 100644
--- a/src/pages/api/users/index.ts
+++ b/src/pages/api/users/index.ts
@@ -13,7 +13,7 @@ export interface UsersRequestBody {
username: string;
password: string;
id: string;
- role?: Role;
+ role: Role;
}
import * as yup from 'yup';