remove unnecessary format call

This commit is contained in:
Diana Lau 2018-08-20 16:55:56 -04:00
parent 89ff760b6d
commit 6b0a880efa
1 changed files with 1 additions and 2 deletions

View File

@ -13,7 +13,6 @@ var debug = require('debug')('loopback:model');
var RemoteObjects = require('strong-remoting');
var SharedClass = require('strong-remoting').SharedClass;
var extend = require('util')._extend;
var format = require('util').format;
var deprecated = require('depd')('loopback');
@ -545,7 +544,7 @@ module.exports = function(registry) {
{arg: 'options', type: 'object', http: 'optionsFromRequest'},
],
accessType: 'READ',
description: format(g.f('Fetches belongsTo relation %s.', relationName)),
description: g.f('Fetches belongsTo relation %s.', relationName),
returns: {arg: relationName, type: modelName, root: true},
}, fn);
};