Skip to content

Commit 4c4d508

Browse files
committedJul 17, 2024·
Other spelling fixes
1 parent e83f1f5 commit 4c4d508

File tree

5 files changed

+43
-43
lines changed

5 files changed

+43
-43
lines changed
 

‎lib/database/dbcarrotboard.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class DBcarrotboard {
5858
return true;
5959
}
6060
} catch (ex) {
61-
console.log(`Something wrong happend ${ex}`);
61+
console.log(`Something wrong happened ${ex}`);
6262
} finally {
6363
await client.query("ROLLBACK");
6464
client.release();
@@ -85,7 +85,7 @@ class DBcarrotboard {
8585
await client.query(query);
8686
await client.query("COMMIT");
8787
} catch (ex) {
88-
console.log(`Something wrong happend ${ex}`);
88+
console.log(`Something wrong happened ${ex}`);
8989
} finally {
9090
await client.query("ROLLBACK");
9191
client.release();
@@ -109,7 +109,7 @@ class DBcarrotboard {
109109

110110
return result["rows"][0]["count"];
111111
} catch (ex) {
112-
console.log(`Something wrong happend ${ex}`);
112+
console.log(`Something wrong happened ${ex}`);
113113
} finally {
114114
await client.query("ROLLBACK");
115115
client.release();
@@ -133,7 +133,7 @@ class DBcarrotboard {
133133

134134
return result.rows[0].count;
135135
} catch (ex) {
136-
console.log(`Something wrong happend ${ex}`);
136+
console.log(`Something wrong happened ${ex}`);
137137
} finally {
138138
await client.query("ROLLBACK");
139139
client.release();
@@ -166,7 +166,7 @@ class DBcarrotboard {
166166
await client.query("COMMIT");
167167
}
168168
} catch (ex) {
169-
console.log(`Something wrong happend ${ex}`);
169+
console.log(`Something wrong happened ${ex}`);
170170
} finally {
171171
await client.query("ROLLBACK");
172172
client.release();
@@ -200,7 +200,7 @@ class DBcarrotboard {
200200
message_contents: result.rows[0]["message_contents"].trim(),
201201
};
202202
} catch (ex) {
203-
console.log(`Something wrong happend ${ex}`);
203+
console.log(`Something wrong happened ${ex}`);
204204
} finally {
205205
await client.query("ROLLBACK");
206206
client.release();
@@ -233,7 +233,7 @@ class DBcarrotboard {
233233
message_contents: result.rows[0]["message_contents"].trim(),
234234
};
235235
} catch (ex) {
236-
console.log(`Something wrong happend ${ex}`);
236+
console.log(`Something wrong happened ${ex}`);
237237
} finally {
238238
await client.query("ROLLBACK");
239239
client.release();
@@ -255,7 +255,7 @@ class DBcarrotboard {
255255

256256
return result.rows;
257257
} catch (ex) {
258-
console.log(`Something wrong happend ${ex}`);
258+
console.log(`Something wrong happened ${ex}`);
259259
} finally {
260260
await client.query("ROLLBACK");
261261
client.release();
@@ -275,7 +275,7 @@ class DBcarrotboard {
275275
await client.query(query, values);
276276
await client.query("COMMIT");
277277
} catch (ex) {
278-
console.log(`Something wrong happend ${ex}`);
278+
console.log(`Something wrong happened ${ex}`);
279279
} finally {
280280
await client.query("ROLLBACK");
281281
client.release();
@@ -296,7 +296,7 @@ class DBcarrotboard {
296296
await client.query(query, values);
297297
await client.query("COMMIT");
298298
} catch (ex) {
299-
console.log(`Something wrong happend ${ex}`);
299+
console.log(`Something wrong happened ${ex}`);
300300
} finally {
301301
await client.query("ROLLBACK");
302302
client.release();
@@ -324,7 +324,7 @@ class DBcarrotboard {
324324
await client.query("COMMIT");
325325
}
326326
} catch (ex) {
327-
console.log(`Something wrong happend ${ex}`);
327+
console.log(`Something wrong happened ${ex}`);
328328
} finally {
329329
await client.query("ROLLBACK");
330330
client.release();
@@ -347,7 +347,7 @@ class DBcarrotboard {
347347

348348
return result.rows;
349349
} catch (ex) {
350-
console.log(`Something wrong happend ${ex}`);
350+
console.log(`Something wrong happened ${ex}`);
351351
} finally {
352352
await client.query("ROLLBACK");
353353
client.release();
@@ -370,7 +370,7 @@ class DBcarrotboard {
370370

371371
return result.rows;
372372
} catch (ex) {
373-
console.log(`Something wrong happend ${ex}`);
373+
console.log(`Something wrong happened ${ex}`);
374374
} finally {
375375
await client.query("ROLLBACK");
376376
client.release();

‎lib/database/dblog.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DBlog {
4545
return true;
4646
}
4747
} catch (ex) {
48-
console.log(`Something wrong happend ${ex}`);
48+
console.log(`Something wrong happened ${ex}`);
4949
} finally {
5050
await client.query("ROLLBACK");
5151
client.release();
@@ -82,7 +82,7 @@ class DBlog {
8282
await client.query("COMMIT");
8383
}
8484
} catch (ex) {
85-
console.log(`Something wrong happend ${ex}`);
85+
console.log(`Something wrong happened ${ex}`);
8686
} finally {
8787
await client.query("ROLLBACK");
8888
client.release();
@@ -114,7 +114,7 @@ class DBlog {
114114
await client.query("COMMIT");
115115
}
116116
} catch (ex) {
117-
console.log(`Something wrong happend ${ex}`);
117+
console.log(`Something wrong happened ${ex}`);
118118
} finally {
119119
await client.query("ROLLBACK");
120120
client.release();
@@ -139,7 +139,7 @@ class DBlog {
139139

140140
await client.query("COMMIT");
141141
} catch (ex) {
142-
console.log(`Something wrong happend ${ex}`);
142+
console.log(`Something wrong happened ${ex}`);
143143
} finally {
144144
await client.query("ROLLBACK");
145145
client.release();
@@ -168,7 +168,7 @@ class DBlog {
168168

169169
await client.query("COMMIT");
170170
} catch (ex) {
171-
console.log(`Something wrong happend ${ex}`);
171+
console.log(`Something wrong happened ${ex}`);
172172
} finally {
173173
await client.query("ROLLBACK");
174174
client.release();
@@ -193,7 +193,7 @@ class DBlog {
193193
return result.rows;
194194
}
195195
} catch (ex) {
196-
console.log(`Something wrong happend ${ex}`);
196+
console.log(`Something wrong happened ${ex}`);
197197
} finally {
198198
await client.query("ROLLBACK");
199199
client.release();
@@ -210,7 +210,7 @@ class DBlog {
210210
const values = [channel_name, channel_id];
211211
await client.query(query, values);
212212
} catch (ex) {
213-
console.log(`Something wrong happend ${ex}`);
213+
console.log(`Something wrong happened ${ex}`);
214214
} finally {
215215
await client.query("ROLLBACK");
216216
client.release();
@@ -233,7 +233,7 @@ class DBlog {
233233

234234
await client.query("COMMIT");
235235
} catch (ex) {
236-
console.log(`Something wrong happend ${ex}`);
236+
console.log(`Something wrong happened ${ex}`);
237237
} finally {
238238
await client.query("ROLLBACK");
239239
client.release();
@@ -261,7 +261,7 @@ class DBlog {
261261

262262
await client.query("COMMIT");
263263
} catch (ex) {
264-
console.log(`Something wrong happend ${ex}`);
264+
console.log(`Something wrong happened ${ex}`);
265265
} finally {
266266
await client.query("ROLLBACK");
267267
client.release();
@@ -285,7 +285,7 @@ class DBlog {
285285

286286
await client.query("COMMIT");
287287
} catch (ex) {
288-
console.log(`Something wrong happend ${ex}`);
288+
console.log(`Something wrong happened ${ex}`);
289289
} finally {
290290
await client.query("ROLLBACK");
291291
client.release();
@@ -309,7 +309,7 @@ class DBlog {
309309

310310
return result.rows;
311311
} catch (ex) {
312-
console.log(`Something wrong happend ${ex}`);
312+
console.log(`Something wrong happened ${ex}`);
313313
} finally {
314314
await client.query("ROLLBACK");
315315
client.release();

‎lib/database/dbreactrole.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class DBReactRole {
5858
return true;
5959
}
6060
} catch (ex) {
61-
console.log(`Something wrong happend in react role ${ex}`);
61+
console.log(`Something wrong happened in react role ${ex}`);
6262
} finally {
6363
await client.query("ROLLBACK");
6464
client.release();
@@ -79,7 +79,7 @@ class DBReactRole {
7979
await client.query(query);
8080
await client.query("COMMIT");
8181
} catch (ex) {
82-
console.log(`Something wrong happend in react role ${ex}`);
82+
console.log(`Something wrong happened in react role ${ex}`);
8383
} finally {
8484
await client.query("ROLLBACK");
8585
client.release();
@@ -104,7 +104,7 @@ class DBReactRole {
104104
await client.query(query);
105105
await client.query("COMMIT");
106106
} catch (ex) {
107-
console.log(`Something wrong happend in react role ${ex}`);
107+
console.log(`Something wrong happened in react role ${ex}`);
108108
} finally {
109109
await client.query("ROLLBACK");
110110
client.release();
@@ -123,7 +123,7 @@ class DBReactRole {
123123
await client.query(query, values);
124124
await client.query("COMMIT");
125125
} catch (ex) {
126-
console.log(`Something wrong happend in react role ${ex}`);
126+
console.log(`Something wrong happened in react role ${ex}`);
127127
} finally {
128128
await client.query("ROLLBACK");
129129
client.release();
@@ -142,7 +142,7 @@ class DBReactRole {
142142
await client.query(query, values);
143143
await client.query("COMMIT");
144144
} catch (ex) {
145-
console.log(`Something wrong happend in react role ${ex}`);
145+
console.log(`Something wrong happened in react role ${ex}`);
146146
} finally {
147147
await client.query("ROLLBACK");
148148
client.release();
@@ -164,7 +164,7 @@ class DBReactRole {
164164

165165
return result.rows;
166166
} catch (ex) {
167-
console.log(`Something wrong happend in react role ${ex}`);
167+
console.log(`Something wrong happened in react role ${ex}`);
168168
} finally {
169169
await client.query("ROLLBACK");
170170
client.release();
@@ -186,7 +186,7 @@ class DBReactRole {
186186

187187
return result.rows[0].sender_id;
188188
} catch (ex) {
189-
console.log(`Something wrong happend in react role ${ex}`);
189+
console.log(`Something wrong happened in react role ${ex}`);
190190
} finally {
191191
await client.query("ROLLBACK");
192192
client.release();

‎lib/database/dbschedulepost.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class DBSchedulePost {
5353
return true;
5454
}
5555
} catch (ex) {
56-
console.log(`Something wrong happend in schedule post ${ex}`);
56+
console.log(`Something wrong happened in schedule post ${ex}`);
5757
} finally {
5858
await client.query("ROLLBACK");
5959
client.release();
@@ -80,7 +80,7 @@ class DBSchedulePost {
8080
await client.query(query);
8181
await client.query("COMMIT");
8282
} catch (ex) {
83-
console.log(`Something wrong happend in schedule post ${ex}`);
83+
console.log(`Something wrong happened in schedule post ${ex}`);
8484
} finally {
8585
await client.query("ROLLBACK");
8686
client.release();
@@ -106,7 +106,7 @@ class DBSchedulePost {
106106
await client.query(query, values);
107107
await client.query("COMMIT");
108108
} catch (ex) {
109-
console.log(`Something wrong happend in schedule post ${ex}`);
109+
console.log(`Something wrong happened in schedule post ${ex}`);
110110
} finally {
111111
await client.query("ROLLBACK");
112112
client.release();
@@ -124,7 +124,7 @@ class DBSchedulePost {
124124
await client.query(query, values);
125125
await client.query("COMMIT");
126126
} catch (ex) {
127-
console.log(`Something wrong happend in schedule post ${ex}`);
127+
console.log(`Something wrong happened in schedule post ${ex}`);
128128
} finally {
129129
await client.query("ROLLBACK");
130130
client.release();
@@ -146,7 +146,7 @@ class DBSchedulePost {
146146

147147
return result.rows;
148148
} catch (ex) {
149-
console.log(`Something wrong happend in schedule post ${ex}`);
149+
console.log(`Something wrong happened in schedule post ${ex}`);
150150
} finally {
151151
await client.query("ROLLBACK");
152152
client.release();
@@ -168,7 +168,7 @@ class DBSchedulePost {
168168

169169
return result.rows;
170170
} catch (ex) {
171-
console.log(`Something wrong happend in schedule post ${ex}`);
171+
console.log(`Something wrong happened in schedule post ${ex}`);
172172
} finally {
173173
await client.query("ROLLBACK");
174174
client.release();
@@ -184,7 +184,7 @@ class DBSchedulePost {
184184
await client.query("delete from schedule_post where scheduled_post_id=$1", values);
185185
await client.query("COMMIT");
186186
} catch (ex) {
187-
console.log(`Something wrong happend in schedule post ${ex}`);
187+
console.log(`Something wrong happened in schedule post ${ex}`);
188188
} finally {
189189
await client.query("ROLLBACK");
190190
client.release();
@@ -209,7 +209,7 @@ class DBSchedulePost {
209209
return result.rows[0].scheduled_post_id;
210210
}
211211
} catch (ex) {
212-
console.log(`Something wrong happend in schedule post ${ex}`);
212+
console.log(`Something wrong happened in schedule post ${ex}`);
213213
} finally {
214214
await client.query("ROLLBACK");
215215
client.release();

‎lib/database/dbtravelguide.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class DBTravelguide {
115115
await client.query(query, values);
116116
await client.query("COMMIT");
117117
} catch (ex) {
118-
console.log(`Something wrong happend in travelguide addRecommendation ${ex}`);
118+
console.log(`Something wrong happened in travelguide addRecommendation ${ex}`);
119119
} finally {
120120
await client.query("ROLLBACK");
121121
client.release();
@@ -152,7 +152,7 @@ class DBTravelguide {
152152
await client.query("COMMIT");
153153
}
154154
} catch (ex) {
155-
console.log(`Something wrong happend in travelguide likeRecommendation${ex}`);
155+
console.log(`Something wrong happened in travelguide likeRecommendation${ex}`);
156156
} finally {
157157
await client.query("ROLLBACK");
158158
client.release();
@@ -199,7 +199,7 @@ class DBTravelguide {
199199
await client.query("COMMIT");
200200
return result.rows;
201201
} catch (ex) {
202-
console.log(`Something wrong happend in travelguide getAuthorRecommendations${ex}`);
202+
console.log(`Something wrong happened in travelguide getAuthorRecommendations${ex}`);
203203
} finally {
204204
await client.query("ROLLBACK");
205205
client.release();
@@ -269,7 +269,7 @@ class DBTravelguide {
269269

270270
return result.rows;
271271
} catch (ex) {
272-
console.log(`Something wrong happend in travelguide getRecommendation ${ex}`);
272+
console.log(`Something wrong happened in travelguide getRecommendation ${ex}`);
273273
} finally {
274274
await client.query("ROLLBACK");
275275
client.release();

0 commit comments

Comments
 (0)
Please sign in to comment.