Correct usage
This commit is contained in:
parent
15f8c4c076
commit
6dab106f2a
@ -66,7 +66,7 @@ class MigrateCreateStoreTaskListener(
|
|||||||
).derivedOf(event)
|
).derivedOf(event)
|
||||||
|
|
||||||
|
|
||||||
if (!collectProjection.isStorePermitted()) {
|
if (!CollectProjection(history).isStorePermitted()) {
|
||||||
log.info { "\uD83D\uDED1 Not storing content and metadata automatically for collection: $collection @ ${useEvent.referenceId}" }
|
log.info { "\uD83D\uDED1 Not storing content and metadata automatically for collection: $collection @ ${useEvent.referenceId}" }
|
||||||
log.info { "A manual allow completion event is required to proceed." }
|
log.info { "A manual allow completion event is required to proceed." }
|
||||||
return null
|
return null
|
||||||
|
|||||||
@ -50,8 +50,7 @@ class StoreContentAndMetadataListener: EventListener() {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
val collectProjection = CollectProjection(useHistory)
|
if (!CollectProjection(history).isStorePermitted()) {
|
||||||
if (!collectProjection.isStorePermitted()) {
|
|
||||||
log.info { "\uD83D\uDED1 Not storing content and metadata automatically for collection: $collection @ ${useEvent.referenceId}" }
|
log.info { "\uD83D\uDED1 Not storing content and metadata automatically for collection: $collection @ ${useEvent.referenceId}" }
|
||||||
log.info { "A manual allow completion event is required to proceed." }
|
log.info { "A manual allow completion event is required to proceed." }
|
||||||
return null
|
return null
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user