Completed
Push — master ( 78d2f9...949122 )
by greg
42s
created

src/server/routes/users/post/update.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 10
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 0
wmc 1
nc 1
mnd 0
bc 1
fnc 1
dl 0
loc 10
rs 10
bpm 1
cpm 1
noi 0
c 2
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A update.js ➔ route 0 4 1
1
import {
2
  User
3
} from '../../../../cli'
4
5
var route = function(req, res) {
6
  var resultUpdate = User.operations.update(req.body)
7
  return res.status(200).json(resultUpdate)
8
}
9
10
export default route