Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Apr 18, 2020
1 parent 524f1f9 commit 653db62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/remote/activitypub/ap-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import User, { IUser, IRemoteUser } from '../../models/user';
import Note, { INote } from '../../models/note';
import { IObject, getApId } from './type';
import * as escapeRegexp from 'escape-regexp';
import { inspect } from 'util';

export default class ApResolver {
constructor() {
Expand Down Expand Up @@ -51,7 +50,6 @@ export default class ApResolver {
public async getUserFromObject(object: string | IObject): Promise<IUser | null> {
const parsed = this.parseObjectUri(object);

console.log(inspect(parsed));
if (parsed.id) {
return (await User.findOne({
_id: new mongo.ObjectID(parsed.id),
Expand Down

0 comments on commit 653db62

Please sign in to comment.