Skip to content

Commit

Permalink
make available a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Jun 6, 2024
1 parent 455903e commit 71a3397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/v3/EndpointsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class EndpointsController extends Controller {
} while (this.isTaken(records, matchHostList));

return {
available: counter == 1 ? 'yes' : 'no',
available: counter == 1,
suggestion: matchHostList[0],
};
}
Expand Down

0 comments on commit 71a3397

Please sign in to comment.