diff --git a/create-test-user.sh b/create-test-user.sh new file mode 100755 index 0000000..44ea175 --- /dev/null +++ b/create-test-user.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -x + +DATABUNKER_APIKEY='25ae59fb-3859-b807-7420-cdb83e089b42' +curl -s http://localhost:3000/v1/user -XPOST "X-Bunker-Token: "$DATABUNKER_APIKEY -H "Content-Type: application/json" -d '{"name":"yul","email":"test@paranoidguy.com"}' diff --git a/src/bunker.go b/src/bunker.go index 88b67c6..ae0cd75 100644 --- a/src/bunker.go +++ b/src/bunker.go @@ -241,7 +241,7 @@ func main() { masterKey, err = hex.DecodeString(*masterKeyPtr) } else { fmt.Println(`Masterkey is missing.`) - fmt.Printf(`Run "./databunker -masterkey key"`) + fmt.Println(`Run "./databunker -masterkey key"`) os.Exit(0) } db.initUserApps()