Skip to content

Commit

Permalink
unwrap or default for project_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys committed Dec 17, 2023
1 parent 9d2cba2 commit 354dd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dosei/src/server/secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ pub struct EnvsPathParams {

impl EnvsPathParams {
pub fn get_project_id(&self) -> Uuid {
self.project_id.unwrap_or_else(Uuid::default)
self.project_id.unwrap_or_default()
}
}

0 comments on commit 354dd16

Please sign in to comment.