From 2026a2ddc64d4923108d813cb19adbd80d618c5e Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 8 Jan 2023 16:51:13 +0100 Subject: [PATCH] Fix incorrect function --- src/db/models/languages.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/models/languages.rs b/src/db/models/languages.rs index f698ca3..4cfa95c 100644 --- a/src/db/models/languages.rs +++ b/src/db/models/languages.rs @@ -112,7 +112,7 @@ impl Language { } #[graphql(description = "Native name of the language")] - fn native() -> Option { + fn native(&self) -> Option { self.native.clone() }