Skip to content

Commit

Permalink
fix: change graphql object name of mint history
Browse files Browse the repository at this point in the history
  • Loading branch information
kespinola committed Jul 27, 2023
1 parent f7a5c4d commit 5a13b0c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/entities/mint_histories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ use super::sea_orm_active_enums::CreationStatus;

#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, SimpleObject)]
#[sea_orm(table_name = "mint_histories")]
#[graphql(concrete(name = "MintHistories", params()))]
#[graphql(concrete(name = "MintHistory", params()))]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: Uuid,
/// The ID of the NFT being purchased.
/// The ID of the NFT minted.
pub mint_id: Uuid,
/// The wallet address of the buyer.
#[sea_orm(column_type = "Text")]
Expand All @@ -23,7 +23,7 @@ pub struct Model {
pub status: CreationStatus,
/// The date and time when the purchase was created.
pub created_at: DateTimeWithTimeZone,
/// The ID of the collection that facilitated the purchase, if any.
/// The ID of the collection that facilitated the mint, if any.
pub collection_id: Uuid,
}

Expand Down

0 comments on commit 5a13b0c

Please sign in to comment.