Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit c54ec42

Browse files
committed
Add key to hook data
1 parent 62e047e commit c54ec42

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

controller/cv_list.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ var routeScraperListCVs = routeBuilder.R{
5656
}
5757

5858
hookData := CVListsHookData{
59+
KeyID: reqCtx.Key.ID,
60+
KeyName: reqCtx.Key.Name,
61+
IsTest: false,
5962
CVs: map[string]models.CV{},
6063
ProfilesMatchCVs: map[primitive.ObjectID][]string{},
6164
}

0 commit comments

Comments
 (0)