diff --git a/server/commands/revisionCreator.ts b/server/commands/revisionCreator.ts index 149a5724ce..6e7a279c77 100644 --- a/server/commands/revisionCreator.ts +++ b/server/commands/revisionCreator.ts @@ -24,7 +24,7 @@ export default async function revisionCreator({ teamId: document.teamId, actorId: user.id, createdAt: document.updatedAt, - ip: event.ip, + ip: event.ip ?? user.lastActiveIp, authType: event.authType, }, {