AppEndpoint.name is required for both the client and server

This commit is contained in:
Baptiste Gelez
2018-10-23 10:43:14 +01:00
parent 31641b1ea1
commit 0dbf9f519e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ use canapi::Endpoint;
#[derive(Clone, Default, Serialize, Deserialize)]
pub struct AppEndpoint {
pub id: Option<i32>,
pub name: Option<String>,
pub name: String,
pub website: Option<String>,
pub redirect_uri: Option<String>,
pub client_id: Option<String>,