refactor: fixed comment typo

returned for testing purposes only
pull/2971/head
William Grant 2 years ago
parent 4b93c5779a
commit 6694f5a86f

@ -81,7 +81,7 @@ async function insertContactFromDBIntoWrapperAndRefresh(
try {
window.log.debug('inserting into contact wrapper: ', JSON.stringify(wrapperContact));
await ContactsWrapperActions.set(wrapperContact);
// returned testing purposes only
// returned for testing purposes only
return wrapperContact;
} catch (e) {
window.log.warn(`ContactsWrapperActions.set of ${id} failed with ${e.message}`);

@ -107,7 +107,7 @@ async function insertGroupsFromDBIntoWrapperAndRefresh(
wrapperComm.priority
);
// returned testing purposes only
// returned for testing purposes only
return {
fullUrl: wrapperComm.fullUrl,
priority: wrapperComm.priority,
@ -140,7 +140,7 @@ async function insertGroupsFromDBIntoWrapperAndRefresh(
);
// this does the create or the update of the matching existing legacy group
await UserGroupsWrapperActions.setLegacyGroup(wrapperLegacyGroup);
// returned testing purposes only
// returned for testing purposes only
return wrapperLegacyGroup;
} catch (e) {
window.log.warn(`UserGroupsWrapperActions.set of ${convoId} failed with ${e.message}`);

@ -50,7 +50,7 @@ async function insertUserProfileIntoWrapper(convoId: string) {
await UserConfigWrapperActions.setEnableBlindedMsgRequest(areBlindedMsgRequestEnabled);
await UserConfigWrapperActions.setNoteToSelfExpiry(expirySeconds);
// returned testing purposes only
// returned for testing purposes only
return {
id: convoId,
name: dbName,

Loading…
Cancel
Save