alaska-settings
Advanced tools
Comparing version 0.11.22 to 0.11.23
// @flow | ||
import { Service } from 'alaska'; | ||
import Settings from './models/Settings'; | ||
@@ -24,4 +25,2 @@ const debug = require('debug')('alaska-settings'); | ||
async register(data: Object) { | ||
const Settings = this.model('Settings'); | ||
const id = data.id || data._id; | ||
@@ -46,3 +45,2 @@ // $Flow | ||
async get(id: string|number) { | ||
const Settings = this.model('Settings'); | ||
// $Flow | ||
@@ -63,3 +61,2 @@ let record = await Settings.findById(id); | ||
debug('set', id, '=>', value); | ||
const Settings = this.model('Settings'); | ||
// $Flow | ||
@@ -66,0 +63,0 @@ let record = await Settings.findById(id); |
{ | ||
"name": "alaska-settings", | ||
"version": "0.11.22", | ||
"version": "0.11.23", | ||
"description": "Alaska settings service", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9009
338