Skip to content

Commit

Permalink
merge url params
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasMizera committed Oct 5, 2023
1 parent ae5891c commit ebc33db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/inputhelp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ QString InputHelp::merginDashboardLink() const
int activeWS = mMerginApi->userInfo()->activeWorkspaceId();
if ( activeWS >= 0 )
{
activeWorkspacePathPart = QStringLiteral( "?workspace=%1&" ).arg( activeWS );
activeWorkspacePathPart = QStringLiteral( "?workspace=%1" ).arg( activeWS );
}
}

Expand All @@ -86,9 +86,9 @@ QString InputHelp::merginDashboardLink() const
{
queryParams = activeWorkspacePathPart;

// URL can not have two question marks, let's remove the one in the utm tag
// URL can not have two question marks, merge the tags with &
QString utms( utmTagAttention );
utms.replace( "?", "" );
utms.replace( "?", "&" );
queryParams += utms;
}
else
Expand Down

1 comment on commit ebc33db

@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 23.10.464611 just submitted!

Please sign in to comment.