File tree Expand file tree Collapse file tree
src/core/log-builders/collections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const meCollectionLogBuilder: CollectionMeHook = ({
1010 context,
1111 user,
1212} ) => {
13- if ( ( context . userHookConfig as TrackedCollection ) . hooks ?. afterLogin ?. login ?. enabled ) {
13+ if ( ( context . userHookConfig as TrackedCollection ) . hooks ?. me ?. me ?. enabled ) {
1414 const log : AuditorLog = {
1515 action : 'me' ,
1616 collection : args . collection . config . slug ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const refreshCollectionLogBuilder: CollectionRefreshHook = ({
1010 context,
1111 user,
1212} ) => {
13- if ( ( context . userHookConfig as TrackedCollection ) . hooks ?. afterLogin ?. login ?. enabled ) {
13+ if ( ( context . userHookConfig as TrackedCollection ) . hooks ?. refresh ?. refresh ?. enabled ) {
1414 const log : AuditorLog = {
1515 action : 'refresh' ,
1616 collection : args . collection . config . slug ,
You can’t perform that action at this time.
0 commit comments