@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
20 lines (19 loc) • 614 B
JavaScript
/*
* 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, "GetSpace", {
enumerable: true,
get: function() {
return GetSpace;
}
});
const _common = require("@nestjs/common");
const GetSpace = (0, _common.createParamDecorator)((_data, ctx)=>{
return ctx.switchToHttp().getRequest().space;
});
//# sourceMappingURL=space.decorator.js.map