Skip to content

Commit

Permalink
Update init.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ImXirvin committed Aug 12, 2024
1 parent 0f8e6b8 commit e959597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { oxmysql } from '@overextended/oxmysql';

oxmysql.ready(async () => {
// see if there is a table called appearance
const result = await oxmysql.query('SELECT * FROM appearance LIMIT 1');
const result = await oxmysql.query('SELECT 1 FROM appearance LIMIT 1');
if (!result) {
throw new Error('No appearance table found');
}
Expand Down

0 comments on commit e959597

Please sign in to comment.