Update source to metadata.source

This commit is contained in:
Tuan Dang
2023-08-14 11:09:22 +07:00
parent 83465dff2d
commit baa907dbb6
6 changed files with 16 additions and 8 deletions
+3 -1
View File
@@ -141,7 +141,9 @@ const initProjectHelper = async ({
secretCommentIV: secret.secretCommentIV,
secretCommentTag: secret.secretCommentTag,
secretPath: "/",
source: "signup"
metadata: {
source: "signup"
}
});
});
+3 -1
View File
@@ -165,5 +165,7 @@ export type CreateSecretDTO = {
secretCommentIV: string;
secretCommentTag: string;
secretPath: string;
source?: string;
metadata?: {
source?: string;
}
}