Restore fallback for storing IP address on revisions.create

This commit is contained in:
Tom Moor
2024-11-05 19:54:08 -05:00
parent f5de2834d6
commit abb1d3a923

View File

@@ -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,
},
{