mirror of
https://github.com/wassname/talk.git
synced 2026-07-28 11:27:05 +08:00
Set createdAt in optimistic response during SuspendUserMutation steps (#2575)
CORL-616
This commit is contained in:
@@ -34,6 +34,7 @@ const SuspendUserMutation = createMutation(
|
||||
active
|
||||
history {
|
||||
active
|
||||
createdAt
|
||||
from {
|
||||
start
|
||||
finish
|
||||
@@ -78,6 +79,7 @@ const SuspendUserMutation = createMutation(
|
||||
id: viewer.id,
|
||||
username: viewer.username,
|
||||
},
|
||||
createdAt: now.toISOString(),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user