mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 20:51:25 +03:00
добавлен ответ с курсом валют
This commit is contained in:
parent
cce658783f
commit
12ce6b7522
2 changed files with 39 additions and 22 deletions
11
utils/errorResponse.js
Normal file
11
utils/errorResponse.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
function response(status, statusCode, message) {
|
||||
return {
|
||||
status: status,
|
||||
statusCode: status,
|
||||
data: {
|
||||
message: message
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = response;
|
Loading…
Add table
Reference in a new issue