"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dashboardSyncData = void 0;
var tslib_1 = require("tslib");
exports.dashboardSyncData = {
    rest: {
        method: 'GET',
        fullPath: '/api/pepsico-content/dashboard/sync-data'
    },
    handler: function (ctx) {
        return tslib_1.__awaiter(this, void 0, void 0, function () {
            var logger, result;
            return tslib_1.__generator(this, function (_a) {
                switch (_a.label) {
                    case 0: return [4, this.getLogger()];
                    case 1:
                        logger = _a.sent();
                        ctx.logger = logger;
                        ctx.getObject = this.getObject;
                        return [4, this.dashboardSyncData(ctx)];
                    case 2:
                        result = _a.sent();
                        console.log("dashboardSyncData", result);
                        return [2, result];
                }
            });
        });
    }
};
//# sourceMappingURL=dashboard_sync_data.js.map