Skip to content

Commit

Permalink
Bump AttribDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
turecross321 committed Nov 2, 2023
1 parent 74a0492 commit a9a8f24
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ApiListResponse<ApiAlbumResponse> GetAlbums(RequestContext context, GameD
[DocError(typeof(ApiNotFoundError), ApiNotFoundError.AlbumNotFoundWhen)]
[DocError(typeof(ApiNotFoundError), ApiNotFoundError.UserNotFoundWhen)]
[DocRouteParam("albumId", "Album ID.")]
// todo: [DocRouteParam("userId", "User ID.")]
[DocRouteParam("userId", "User ID.")]
public ApiResponse<ApiAlbumCompletionResponse> GetAlbumCompletion(RequestContext context,
GameDatabaseContext database, string albumId, string userId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ApiLevelRelationEndpoints : EndpointGroup
[DocError(typeof(ApiNotFoundError), ApiNotFoundError.LevelNotFoundWhen)]
[DocError(typeof(ApiNotFoundError), ApiNotFoundError.UserNotFoundWhen)]
[DocRouteParam("levelId", "Level ID.")]
//todo: [DocRouteParam("userId", "User ID.")]
[DocRouteParam("userId", "User ID.")]
public ApiResponse<ApiLevelRelationResponse> GetLevelRelation(RequestContext context, GameDatabaseContext database, string levelId, string userId)
{
GameLevel? level = database.GetLevelWithId(levelId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ApiUserRelationEndpoints : EndpointGroup
[DocSummary("Retrieves relation between two users.")]
[DocError(typeof(ApiNotFoundError), ApiNotFoundError.UserNotFoundWhen)]
[DocRouteParam("recipientId", "Recipient user ID.")]
//todo: [DocRouteParam("actorId", "Actor user ID.")]
[DocRouteParam("actorId", "Actor user ID.")]
public ApiResponse<ApiUserRelationResponse> CheckIfFollowingUser(RequestContext context, GameDatabaseContext database, string recipientId, string actorId)
{
GameUser? recipient = database.GetUserWithId(recipientId);
Expand Down
2 changes: 1 addition & 1 deletion SoundShapesServer/SoundShapesServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AttribDoc" Version="1.2.0"/>
<PackageReference Include="AttribDoc" Version="1.2.1" />
<PackageReference Include="BCrypt.Net-Next" Version="4.0.3"/>
<PackageReference Include="Bunkum" Version="4.3.3"/>
<PackageReference Include="Bunkum.AutoDiscover" Version="4.3.3"/>
Expand Down

0 comments on commit a9a8f24

Please sign in to comment.