Skip to content

Commit 9e932c9

Browse files
committed
Fix FIRE-DPD
1 parent 91507f6 commit 9e932c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/Fun/google.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export default class Google extends Command {
110110
}>("SELECT uid FROM assistant WHERE uid = $1", [command.author.id])
111111
.first()
112112
.catch(() => ({ uid: "" }));
113-
if (hasCredentials.uid && hasCredentials.uid != command.author.id)
113+
if (hasCredentials?.uid && hasCredentials.uid != command.author.id)
114114
return await command.send("GOOGLE_CREDENTIAL_CHECK_FAILED");
115115
useDefaultCreds = !hasCredentials;
116116
}

0 commit comments

Comments
 (0)