Skip to content

Commit

Permalink
REturn the CreatedOnBlock for the angor project
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Dec 23, 2023
1 parent a0cbf3c commit 39529cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ public class ProjectIndexerData
public string FounderKey { get; set; }
public string NostrPubKey { get; set; }
public string ProjectIdentifier { get; set; }
public string TrxHex { get; set; }

public long CreatedOnBlock { get; set; }
public string TrxId { get; set; }
public long? TotalInvestmentsCount { get; set; }
}
3 changes: 2 additions & 1 deletion src/Blockcore.Indexer.Angor/Storage/Mongo/AngorMongoData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public async Task<QueryResult<ProjectIndexerData>> GetProjectsAsync(int? offset,
FounderKey = _.FounderKey,
NostrPubKey =_.NPubKey,
ProjectIdentifier = _.AngorKey,
TrxId = _.TransactionId
TrxId = _.TransactionId,
CreatedOnBlock = _.BlockIndex
}),
Offset = itemsToSkip,
Limit = limit,
Expand Down

0 comments on commit 39529cc

Please sign in to comment.