mirror of
https://github.com/outline/outline.git
synced 2026-03-12 15:49:49 -05:00
Restore fallback for storing IP address on revisions.create
This commit is contained in:
@@ -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,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user