Skip to content

Commit

Permalink
expose title via webfinger
Browse files Browse the repository at this point in the history
  • Loading branch information
Michiel de Jong authored and michielbdejong committed Jun 21, 2017
1 parent c8ecc5a commit ed0d429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/src/controllers/webfinger.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function WebfingerControllerFactory (deps) {
'subject': config.data.get('client_host'),
'properties': {
'https://interledger.org/rel/publicKey': config.data.getIn(['connector', 'public_key']),
'https://interledger.org/rel/title': config.data.getIn(['client_title']),
'https://interledger.org/rel/protocolVersion': 'Compatible: ilp-kit v' + config.data.getIn(['ilpKitVersion'])
},
'links': [
Expand Down
2 changes: 1 addition & 1 deletion api/src/lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = class WalletConfig {
const hash = await new Promise((resolve, reject) => {
exec('git rev-parse --short HEAD', { cwd: __dirname }, (err, stdout) => {
if (err) {
reject(err)
resolve('unknown')
} else {
resolve(stdout.split('\n').join(''))
}
Expand Down

0 comments on commit ed0d429

Please sign in to comment.