bahmutov / bahmutov/version-middleware

Combine version with build.json better

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

If `build.json` has this
```
$ cat build.json
{
"id": "f0313b62a52b30986f3408bdfd42b886cad6e1cb",
"short": "f0313b6",
"savedAt": "2017-07-21T15:41:32.329Z"
}
```

the /version returns an error
```
{
"error": "/app/build.json is missing \"version\" property {\n \"id\": \"7b37576d321c370d5b33f6a95c4afcc1c8ede74a\",\n \"short\": \"7b37576\",\n \"savedAt\": \"2017-07-21T16:42:29.539Z\"\n}"
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.