diff --git a/lib/services/venn_api.js b/lib/services/venn_api.js
index <HASH>..<HASH> 100644
--- a/lib/services/venn_api.js
+++ b/lib/services/venn_api.js
@@ -192,7 +192,7 @@ postLogFromDB = function (apikey, log, callback) {
     log.forEach(function (entry) {
       context.OrgIntegration.findOne({'organization': userapp.organization, 'integration.slug': entry.service}, function (err, orgIntegration) {
         if (orgIntegration) {
-          context.AppLog.create({'organization': userapp.organization, 'orgIntegration': orgIntegration._id, 'code': entry.code, 'message': entry.message}, function (err, appLog) {
+          context.AppLog.create({'app': userapp._id, 'orgIntegration': orgIntegration._id, 'code': entry.code, 'message': entry.message}, function (err, appLog) {
             if (callback) callback(err, appLog);
           })
         }
Refactor AppLog creation on per app basis
for api-<I>