Skip to content

Commit

Permalink
Fix incorrect language representation
Browse files Browse the repository at this point in the history
  • Loading branch information
enaut committed Nov 6, 2021
1 parent fa7600e commit 7a3b012
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,6 @@ Run the container (podman is used here but docker could be used exactly the same
$ podman run --expose 8080 -p=8080:8080 -it pslink-container ./pslink demo -i 0.0.0.0
```

On every restart a new container and volume is created. If the service is restarted often those should be dealt with.

Note that this is **absolutely not for a production use** and only for demo purposes as the links are **deleted on every restart**.
2 changes: 1 addition & 1 deletion pslink/src/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ macro_rules! ts {
match $ordering {
Ordering::Ascending => "ASC",
Ordering::Descending => "DESC",
};
}
};
}

Expand Down
1 change: 1 addition & 0 deletions shared/src/datatypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ impl<T> Deref for Loadable<T> {
#[derive(
Debug, Copy, Clone, EnumIter, EnumString, AsRefStr, Eq, PartialEq, Serialize, Deserialize,
)]
#[strum(ascii_case_insensitive)]
pub enum Lang {
#[strum(serialize = "en-US", serialize = "en", serialize = "enUS")]
EnUS,
Expand Down

0 comments on commit 7a3b012

Please sign in to comment.