Skip to content

Commit

Permalink
Fixed pos medias URL
Browse files Browse the repository at this point in the history
following this pull request:
Afrozaar@9e4ae39

Fix/Fixed bug in media fetch - was not separating postId and context params correctly Afrozaar#75
  • Loading branch information
Chaiavi committed Feb 21, 2025
1 parent 2da37a9 commit 31f0bb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public abstract class Request {
public static final String TAXONOMY = "/taxonomies/{slug}";
public static final String TERMS = "/terms/{taxonomySlug}";
public static final String TERM = "/terms/{taxonomySlug}/{termId}";
public static final String POST_MEDIAS = "/media?parent={postId}?context={context}";
public static final String POST_MEDIAS = "/media?parent={postId}&context={context}";
public static final String MEDIAS = "/media";
public static final String MEDIA = "/media/{mediaId}";
public static final String PAGES = "/pages";
Expand Down

0 comments on commit 31f0bb1

Please sign in to comment.