Service default creation: correctly set the type.

Was a copy-paste error and it was setting type to Tasks.
pull/96/head
Tom Hacohen 5 years ago
parent 9d25087013
commit 9600cd3f1f

@ -150,7 +150,7 @@ public class JournalModel {
// If our first time, create service and a journal
ServiceEntity serviceEntity = new ServiceEntity();
serviceEntity.account = account;
serviceEntity.type = CollectionInfo.Type.TASKS;
serviceEntity.type = type;
service = data.insert(serviceEntity);
}
return service;

Loading…
Cancel
Save