Skip to content

Commit

Permalink
Missed a file in my last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lyonsil committed Sep 21, 2023
1 parent d1816ad commit 03f7853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c-sharp/JsonUtils/ProjectMetadataConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ out string errorMessage
JObject parsedArgs = JObject.Parse(jsonString);
Guid id = Guid.Parse(Get(parsedArgs, ID));
string name = Get(parsedArgs, NAME);
Get(parsedArgs, STORAGE_TYPE).FromSerializedString(out ProjectStorageType pst);
string projectStorageType = Get(parsedArgs, STORAGE_TYPE);
string projectType = Get(parsedArgs, PROJECT_TYPE);
projectMetadata = new ProjectMetadata(id, name, pst, projectType);
projectMetadata = new ProjectMetadata(id, name, projectStorageType, projectType);
}
catch (Exception ex)
{
Expand Down Expand Up @@ -53,7 +53,7 @@ public static string ToJsonString(this ProjectMetadata projectMetadata)
{
[ID] = projectMetadata.ID.ToString(),
[NAME] = projectMetadata.Name,
[STORAGE_TYPE] = projectMetadata.ProjectStorageType.ToSerializedString(),
[STORAGE_TYPE] = projectMetadata.ProjectStorageType,
[PROJECT_TYPE] = projectMetadata.ProjectType
}.ToString();
}
Expand Down

0 comments on commit 03f7853

Please sign in to comment.