Skip to content

Commit

Permalink
Merge pull request #800 from nslxndr/fix-update-init-instruction-typo
Browse files Browse the repository at this point in the history
Fix parameter typo in update init instruction
  • Loading branch information
lonvia authored May 13, 2024
2 parents f071a06 + cb3f3b8 commit d747059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/komoot/photon/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private static void startApi(CommandLineArgs args, Server server) throws IOExcep
// setup update API
final NominatimUpdater nominatimUpdater = setupNominatimUpdater(args, server);
if (!nominatimUpdater.isSetUpForUpdates()) {
throw new RuntimeException("Update API enabled, but Nominatim database is not prepared. Run -nominiatim-update-init-for first.");
throw new RuntimeException("Update API enabled, but Nominatim database is not prepared. Run -nominatim-update-init-for first.");
}
get("/nominatim-update/status", (Request request, Response response) -> {
if (nominatimUpdater.isBusy()) {
Expand Down

0 comments on commit d747059

Please sign in to comment.