Skip to content

Commit

Permalink
log -> logs
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed Sep 30, 2024
1 parent 7b6c4d9 commit 5ccbe82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async fn path(server: &server::Server, kind: &Kind) -> Result<PathBuf, Error> {
Kind::Server => format!("{server}"),
Kind::Channel(channel) => format!("{server}channel{channel}"),
Kind::Query(nick) => format!("{server}nickname{}", nick),
Kind::Logs => "log".to_string(),
Kind::Logs => "logs".to_string(),
};

let hashed_name = seahash::hash(name.as_bytes());
Expand Down
2 changes: 1 addition & 1 deletion data/src/history/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ async fn path(server: &server::Server, kind: &Kind) -> Result<PathBuf, Error> {
Kind::Server => format!("{server}-metadata"),
Kind::Channel(channel) => format!("{server}channel{channel}-metadata"),
Kind::Query(nick) => format!("{server}nickname{}-metadata", nick),
Kind::Logs => "log-metadata".to_string(),
Kind::Logs => "logs-metadata".to_string(),
};

let hashed_name = seahash::hash(name.as_bytes());
Expand Down

0 comments on commit 5ccbe82

Please sign in to comment.