Skip to content

Commit

Permalink
Merge pull request #3686 from MerginMaps/remove-deprecated-keys
Browse files Browse the repository at this point in the history
Remove deprecated reference to writernames
  • Loading branch information
tomasMizera authored Dec 3, 2024
2 parents 3111207 + 1644874 commit 185dfb9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions core/merginprojectmetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,6 @@ MerginProjectMetadata MerginProjectMetadata::fromJson( const QByteArray &data )
project.name = docObj.value( QStringLiteral( "name" ) ).toString();
project.projectNamespace = docObj.value( QStringLiteral( "namespace" ) ).toString();

QJsonValue access = docObj.value( QStringLiteral( "access" ) );
if ( access.isObject() )
{
QJsonArray writersnames = access.toObject().value( "writersnames" ).toArray();
for ( QJsonValueRef tag : writersnames )
{
project.writersnames.append( tag.toString() );
}
}

QString versionStr = docObj.value( QStringLiteral( "version" ) ).toString();
if ( versionStr.isEmpty() )
{
Expand Down
1 change: 0 additions & 1 deletion core/merginprojectmetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ struct MerginProjectMetadata
{
QString name;
QString projectNamespace;
QList<QString> writersnames;
int version = -1;
QList<MerginFile> files;
QString projectId; //!< unique project ID (only available in API that supports project IDs)
Expand Down

1 comment on commit 185dfb9

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.12.696611 just submitted!

Please sign in to comment.