Correct usage
This commit is contained in:
parent
15f8c4c076
commit
6dab106f2a
@ -66,7 +66,7 @@ class MigrateCreateStoreTaskListener(
|
||||
).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 { "A manual allow completion event is required to proceed." }
|
||||
return null
|
||||
|
||||
@ -50,8 +50,7 @@ class StoreContentAndMetadataListener: EventListener() {
|
||||
return null
|
||||
}
|
||||
|
||||
val collectProjection = CollectProjection(useHistory)
|
||||
if (!collectProjection.isStorePermitted()) {
|
||||
if (!CollectProjection(history).isStorePermitted()) {
|
||||
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." }
|
||||
return null
|
||||
|
||||
Loading…
Reference in New Issue
Block a user