Fix incorrect function

This commit is contained in:
Lucien Cartier-Tilet 2023-01-08 16:51:13 +01:00
parent 5c199e2628
commit 2026a2ddc6
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ impl Language {
}
#[graphql(description = "Native name of the language")]
fn native() -> Option<String> {
fn native(&self) -> Option<String> {
self.native.clone()
}