Skip to content

Commit

Permalink
fixing api
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Mar 17, 2024
1 parent 41b88dc commit 401c0e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/ui/website/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class App {
}

async handlerGameTables() {
const [tables, err] = await this.engine.queryTables();
const [tables, err] = await this.engine.tables();
if (err != null) {
$("#error").text(err);
return;
Expand Down
2 changes: 1 addition & 1 deletion app/services/ui/website/scripts/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Engine {
}
}

async queryTables() {
async tables() {
try {
const tables = await $.ajax({
type: "get",
Expand Down

0 comments on commit 401c0e4

Please sign in to comment.