summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/main.cpp')
-rw-r--r--gentoobrowse-api/service/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/main.cpp b/gentoobrowse-api/service/main.cpp
index a936b74..bdf6ed5 100644
--- a/gentoobrowse-api/service/main.cpp
+++ b/gentoobrowse-api/service/main.cpp
@@ -2,6 +2,7 @@
#include <Ice/ObjectAdapter.h>
#include <icetrayService.h>
#include "portageimpl.h"
+#include "usersimpl.h"
#include "maintenanceimpl.h"
namespace Gentoo {
@@ -13,6 +14,7 @@ class Api : public IceTray::Service {
auto db = getConnectionPool(ic, "postgresql", "GentooBrowseAPI");
adp->add(new Portage(db), ic->stringToIdentity("portage"));
adp->add(new Maintenance(db), ic->stringToIdentity("maintenance"));
+ adp->add(new Users(db), ic->stringToIdentity("users"));
}
};