Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
🐛 Didn't know this was even a possibility...
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilbert142 committed Dec 4, 2018
1 parent 8d590de commit 036543e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web/parsers.js
Expand Up @@ -21,7 +21,7 @@ parsers.serverData = async (req, serverDocument, webp = false) => {
await svr.initialize(["OWNER", req.app.client.user.id]);
await svr.fetchProperty("createdAt");
if (svr.success) {
const owner = req.app.client.users.get(svr.ownerID) || svr.members[svr.ownerID].user;
const owner = req.app.client.users.get(svr.ownerID) || svr.members[svr.ownerID] ? svr.members[svr.ownerID].user : { username: "invalid-user", id: "invalid-user" };
data = {
name: svr.name,
id: svr.id,
Expand Down

0 comments on commit 036543e

Please sign in to comment.