Skip to content

Commit

Permalink
Use correct argument name for the media type
Browse files Browse the repository at this point in the history
  • Loading branch information
hichamboushaba committed Nov 15, 2024
1 parent 478fb95 commit ed5eaa7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ abstract class BaseWPV2MediaRestClient constructor(
params["offset"] = offset.toString()
}
if (mimeType != null) {
params["mime_type"] = mimeType.value
params["media_type"] = mimeType.value
}
val response = executeGetGsonRequest(
site,
Expand Down

0 comments on commit ed5eaa7

Please sign in to comment.