Skip to content

Commit

Permalink
[Issue #208] Changed the scraping API URL for getting volumes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpierce committed May 9, 2020
1 parent 3859fac commit efd4b3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion comixed-frontend/src/app/comics/comics.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const GET_PAGE_CONTENT_URL = `${API_ROOT_URL}/pages/\${id}/content`;
export const BLOCK_PAGE_HASH_URL = `${API_ROOT_URL}/pages/\${id}/block/\${hash}`;
export const UNBLOCK_PAGE_HASH_URL = `${API_ROOT_URL}/pages/\${id}/unblock/\${hash}`;

export const GET_VOLUMES_URL = `${API_ROOT_URL}/scraping/series`;
export const GET_VOLUMES_URL = `${API_ROOT_URL}/scraping/volumes`;
export const GET_ISSUE_URL = `${API_ROOT_URL}/scraping/volumes/\${volume}/issues`;

export const LOAD_METADATA_URL = `${API_ROOT_URL}/scraping/comics/\${comicId}/issue/\${issueId}`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public ScrapingIssue queryForIssue(
}

@PostMapping(
value = "/series",
value = "/volumes",
produces = MediaType.APPLICATION_JSON_VALUE,
consumes = MediaType.APPLICATION_JSON_VALUE)
public List<ScrapingVolume> queryForVolumes(@RequestBody() final GetVolumesRequest request)
Expand Down

0 comments on commit efd4b3e

Please sign in to comment.