Skip to content

Commit

Permalink
fixed memberships url (#365)
Browse files Browse the repository at this point in the history
according to https://www.redmine.org/projects/redmine/wiki/Rest_Memberships the url is /projects/:project_id
  • Loading branch information
martinhey authored Jan 7, 2025
1 parent ac206ee commit 17ab59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redmine-net-api/Net/RedmineApiUrlsExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public static string ProjectMemberships(this RedmineApiUrls redmineApiUrls, stri
throw new RedmineException($"Argument '{nameof(projectIdentifier)}' is null or whitespace");
}

return $"{RedmineKeys.PROJECT}/{projectIdentifier}/{RedmineKeys.MEMBERSHIPS}.{redmineApiUrls.Format}";
return $"{RedmineKeys.PROJECTS}/{projectIdentifier}/{RedmineKeys.MEMBERSHIPS}.{redmineApiUrls.Format}";
}

public static string ProjectWikiIndex(this RedmineApiUrls redmineApiUrls, string projectId)
Expand Down

0 comments on commit 17ab59e

Please sign in to comment.