mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-11-18 19:14:08 +02:00
Remove some required values during login, now uses default values
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
use serde_json::Value;
|
||||
|
||||
use uuid::Uuid;
|
||||
|
||||
use super::{Organization, UserOrganization, UserOrgType, UserOrgStatus};
|
||||
|
||||
#[derive(Debug, Identifiable, Queryable, Insertable, Associations)]
|
||||
@@ -18,7 +16,7 @@ pub struct Collection {
|
||||
impl Collection {
|
||||
pub fn new(org_uuid: String, name: String) -> Self {
|
||||
Self {
|
||||
uuid: Uuid::new_v4().to_string(),
|
||||
uuid: crate::util::get_uuid(),
|
||||
|
||||
org_uuid,
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user