refactor: description back routes
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
ea4266ef8c
commit
90b079a0ac
|
@ -3,7 +3,7 @@ const path = require('path');
|
|||
|
||||
module.exports = Self => {
|
||||
Self.remoteMethodCtx('deleteOldFiles', {
|
||||
description: 'Upload and attach a document',
|
||||
description: 'Delete files that are 6 months old from "./storage/claim"',
|
||||
accessType: 'WRITE',
|
||||
returns: {
|
||||
type: 'object',
|
||||
|
|
|
@ -2,7 +2,7 @@ const UserError = require('vn-loopback/util/user-error');
|
|||
|
||||
module.exports = Self => {
|
||||
Self.remoteMethodCtx('downloadFile', {
|
||||
description: 'Get the user image',
|
||||
description: 'Get the claim file',
|
||||
accessType: 'READ',
|
||||
accepts: [
|
||||
{
|
||||
|
|
|
@ -4,7 +4,7 @@ const path = require('path');
|
|||
|
||||
module.exports = Self => {
|
||||
Self.remoteMethodCtx('uploadFile', {
|
||||
description: 'Upload and attach a document',
|
||||
description: 'Upload and attach a file',
|
||||
accessType: 'WRITE',
|
||||
accepts: [{
|
||||
arg: 'id',
|
||||
|
|
Loading…
Reference in New Issue