UNPKG

@sync-in/server

Version:

The secure, open-source platform for file storage, sharing, collaboration, and sync

20 lines (19 loc) 609 B
/* * Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com> * This file is part of Sync-in | The open source file sync and share solution * See the LICENSE file for licensing details */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "GetUser", { enumerable: true, get: function() { return GetUser; } }); const _common = require("@nestjs/common"); const GetUser = (0, _common.createParamDecorator)((_data, ctx)=>{ return ctx.switchToHttp().getRequest().user; }); //# sourceMappingURL=user.decorator.js.map