Skip to content

Commit

Permalink
Also return version and publication date from /infomodel/namespaces API
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Dec 10, 2024
1 parent 6196114 commit b0d05c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UACloudLibraryServer/CloudLibDataProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ public string[] GetAllNamespacesAndNodesets()
{
try
{
string[] namesAndIds = _dbContext.nodeSets.Select(nsm => new { nsm.ModelUri, nsm.Identifier }).Select(n => $"{n.ModelUri},{n.Identifier}").ToArray();
string[] namesAndIds = _dbContext.nodeSets.Select(nsm => new { nsm.ModelUri, nsm.Identifier, nsm.Version, nsm.PublicationDate }).Select(n => $"{n.ModelUri},{n.Identifier},{n.Version},{n.PublicationDate}").ToArray();
return namesAndIds;
}
catch (Exception ex)
Expand Down

0 comments on commit b0d05c8

Please sign in to comment.