Skip to content

Commit 32ed998

Browse files
authored
Fixed DB_NAME name mismatch (#346)
The doc text suggested DB_NAME for variable name, but code sample used DBNAME. Changed all to DB_NAME, for consistency. Thanks @gefjon on Issue #345.
1 parent 14df97e commit 32ed998

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sdks/c-sharp/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ To `Program.cs`, add:
141141
const string HOST = "http://localhost:3000";
142142

143143
/// The database name we chose when we published our module.
144-
const string DBNAME = "quickstart-chat";
144+
const string DB_NAME = "quickstart-chat";
145145

146146
/// Load credentials from a file and connect to the database.
147147
DbConnection ConnectToDB()
148148
{
149149
DbConnection? conn = null;
150150
conn = DbConnection.Builder()
151151
.WithUri(HOST)
152-
.WithModuleName(DBNAME)
152+
.WithModuleName(DB_NAME)
153153
.WithToken(AuthToken.Token)
154154
.OnConnect(OnConnected)
155155
.OnConnectError(OnConnectError)

0 commit comments

Comments
 (0)