diff options
author | Ben Morrison <ben@gbmor.dev> | 2020-05-10 18:48:10 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2020-05-10 18:48:10 -0400 |
commit | 4c827c826091facf38b33e5e828bc22150972450 (patch) | |
tree | 1b3b3fe66b30f4c2d6fd72a6d30d16ea5d73cfd6 /usercount.go | |
parent | f7d867ef146d776a8f1361e83019d9e2c437670b (diff) | |
download | api-4c827c826091facf38b33e5e828bc22150972450.tar.gz |
newline at end of plaintext responses
Diffstat (limited to 'usercount.go')
-rw-r--r-- | usercount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usercount.go b/usercount.go index a7084f1..180c573 100644 --- a/usercount.go +++ b/usercount.go @@ -17,7 +17,7 @@ func userCountQuery(format string) ([]byte, error) { split := strings.Fields(string(ls)) if format == "plain" { - return []byte(fmt.Sprintf("%v users", len(split))), nil + return []byte(fmt.Sprintf("%v users\n", len(split))), nil } out := fmt.Sprintf(`{ |