Skip to content

Commit

Permalink
standard space添加 objectMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
baozhoutao committed Mar 10, 2024
1 parent 68dde0c commit e8220db
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions services/standard-space/package.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
* @Author: [email protected]
* @Date: 2022-12-02 13:17:06
* @LastEditors: [email protected]
* @LastEditTime: 2024-03-08 16:50:58
* @LastEditTime: 2024-03-10 10:47:40
* @Description:
*/
"use strict";
const project = require('./package.json');
const packageName = project.name;
const packageLoader = require('@steedos/service-meteor-package-loader');
const objectMixin = require('@steedos/service-object-mixin')
const objectql = require('@steedos/objectql');
const { MongoClient } = require('mongodb');
const _ = require('lodash')
Expand All @@ -24,7 +25,7 @@ const actions = require('./src/actions')
module.exports = {
name: packageName,
namespace: "steedos",
mixins: [packageLoader],
mixins: [packageLoader, objectMixin],
/**
* Settings
*/
Expand Down Expand Up @@ -158,9 +159,7 @@ module.exports = {
/**
* Methods
*/
methods: {
...methods
},
methods: methods,

/**
* Service created lifecycle event handler
Expand Down

0 comments on commit e8220db

Please sign in to comment.