Use author from Revision as it might differ from original one

Signed-off-by: xphoniex <dj.2dixx@gmail.com>
This commit is contained in:
xphoniex
2023-05-29 15:57:07 +03:30
parent a916783d6f
commit da361fb399
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -102,6 +102,7 @@ const reviewSchema = strictObject({
export interface Revision {
id: string;
author: { id: string; alias?: string };
description: string;
base: string;
oid: string;
@@ -113,6 +114,7 @@ export interface Revision {
const revisionSchema = strictObject({
id: string(),
author: strictObject({ id: string(), alias: string().optional() }),
description: string(),
base: string(),
oid: string(),