Someone forgot to update some code

This commit is contained in:
abalabahaha
2015-12-11 20:00:49 -08:00
parent e020287307
commit 6ed6932e24

View File

@@ -126,7 +126,7 @@ export default class Resolver {
return resource.recipient;
}
if (resource instanceof String || typeof resource === "string") {
return this.client.internal.users.get("id", resource);
return this.internal.users.get("id", resource);
}
return null;