Skip to content

Commit

Permalink
Updated chapters path
Browse files Browse the repository at this point in the history
  • Loading branch information
jzongker committed Jan 24, 2025
1 parent b3706a1 commit 081df42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/BibleController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class BibleController extends ContentBaseController {
});
}

@httpGet("/:translationKey/chapter/:chapterKey/verses")
@httpGet("/:translationKey/chapters/:chapterKey/verses")
public async getVerses(@requestParam("translationKey") translationKey: string, @requestParam("chapterKey") chapterKey: string, req: express.Request<{}, {}, null>, res: express.Response): Promise<interfaces.IHttpActionResult> {
return this.actionWrapperAnon(req, res, async () => {
let result = await this.repositories.bibleVerse.loadAll(translationKey, chapterKey);
Expand Down

0 comments on commit 081df42

Please sign in to comment.