diff --git a/src/main/java/net/frozenorb/apiv3/APIv3.java b/src/main/java/net/frozenorb/apiv3/APIv3.java index 960baae..5841fd3 100644 --- a/src/main/java/net/frozenorb/apiv3/APIv3.java +++ b/src/main/java/net/frozenorb/apiv3/APIv3.java @@ -121,7 +121,7 @@ public final class APIv3 { MorphiaLoggerFactory.registerLogger(SLF4JLoggerImplFactory.class); Morphia morphia = new Morphia(); - morphia.mapPackage("net.frozenorb.apiv3.accessor"); + morphia.mapPackage("net.frozenorb.apiv3.models"); morphia.getMapper().getConverters().addConverter(new UUIDConverter()); datastore = morphia.createDatastore(mongoClient, config.getProperty("mongo.database"));