Fixes wrong path parameter in getSpaceHierarchy

This commit is contained in:
ericdecanini 2022-03-09 09:57:20 +01:00
parent 31f300c724
commit fb374b7374
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ internal interface SpaceApi {
* @param from: Optional. Pagination token given to retrieve the next set of rooms. * @param from: Optional. Pagination token given to retrieve the next set of rooms.
* Note that if a pagination token is provided, then the parameters given for suggested_only and max_depth must be the same. * Note that if a pagination token is provided, then the parameters given for suggested_only and max_depth must be the same.
*/ */
@GET(NetworkConstants.URI_API_PREFIX_PATH_V1 + "rooms/{roomID}/hierarchy") @GET(NetworkConstants.URI_API_PREFIX_PATH_V1 + "rooms/{roomId}/hierarchy")
suspend fun getSpaceHierarchy( suspend fun getSpaceHierarchy(
@Path("roomId") spaceId: String, @Path("roomId") spaceId: String,
@Query("suggested_only") suggestedOnly: Boolean?, @Query("suggested_only") suggestedOnly: Boolean?,