Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Privileges migration content type
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Jan 10, 2019
1 parent 17619d0 commit f3ebdd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/sfjs/migrationManager.js
Expand Up @@ -49,8 +49,12 @@ export default class MigrationManager extends SFMigrationManager {
return;
}

let options = {
contentType: contentType
}

// The user is signed in
Sync.get().stateless_downloadAllItems().then((items) => {
Sync.get().stateless_downloadAllItems(options).then((items) => {
let matchingPrivs = items.filter((candidate) => {
return candidate.content_type == contentType;
});
Expand Down

0 comments on commit f3ebdd0

Please sign in to comment.