Skip to content

Commit

Permalink
Don't send domain when adding users
Browse files Browse the repository at this point in the history
It is not needed.
  • Loading branch information
awlayton committed Jul 23, 2021
1 parent d09f92e commit fd9317a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions oada/services/users/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
import libConfig from '@oada/lib-config';

const config = libConfig({
server: {
domain: {
format: String,
default: 'localhost',
env: 'DOMAIN',
arg: 'domain',
},
},
kafka: {
topics: {
userRequest: {
Expand Down
1 change: 0 additions & 1 deletion oada/services/users/src/useradd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ async function run() {
trace('Sending request to kafka');
const response = ((await kafkareq.send({
connection_id: 'useradd',
domain: config.get('server.domain'),
token: 'admin',
authorization: {
scope: ['oada.admin.user:all'],
Expand Down

0 comments on commit fd9317a

Please sign in to comment.