1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

mas-graphql: post-async-graphql upgrade fixes

This commit is contained in:
Quentin Gliech
2023-08-03 17:03:17 +02:00
parent 815d7e23b2
commit 95890a660b
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ pub use self::{
#[graphql(field( #[graphql(field(
name = "created_at", name = "created_at",
desc = "When the object was created.", desc = "When the object was created.",
type = "DateTime<Utc>" ty = "DateTime<Utc>"
))] ))]
pub enum CreationEvent { pub enum CreationEvent {
Authentication(Box<Authentication>), Authentication(Box<Authentication>),

View File

@ -114,7 +114,7 @@ impl NodeType {
/// An object with an ID. /// An object with an ID.
#[derive(Interface)] #[derive(Interface)]
#[graphql(field(name = "id", desc = "ID of the object.", type = "ID"))] #[graphql(field(name = "id", desc = "ID of the object.", ty = "ID"))]
pub enum Node { pub enum Node {
Anonymous(Box<Anonymous>), Anonymous(Box<Anonymous>),
Authentication(Box<Authentication>), Authentication(Box<Authentication>),