Set createdAt in optimistic response during SuspendUserMutation steps (#2575)

CORL-616
This commit is contained in:
Nick Funk
2019-09-17 09:51:43 -06:00
committed by GitHub
parent 72ef65577b
commit d03b180a30
@@ -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(),
},
],
},