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 { try {
window.log.debug('inserting into contact wrapper: ', JSON.stringify(wrapperContact)); window.log.debug('inserting into contact wrapper: ', JSON.stringify(wrapperContact));
await ContactsWrapperActions.set(wrapperContact); await ContactsWrapperActions.set(wrapperContact);
// returned testing purposes only // returned for testing purposes only
return wrapperContact; return wrapperContact;
} catch (e) { } catch (e) {
window.log.warn(`ContactsWrapperActions.set of ${id} failed with ${e.message}`); window.log.warn(`ContactsWrapperActions.set of ${id} failed with ${e.message}`);

@ -107,7 +107,7 @@ async function insertGroupsFromDBIntoWrapperAndRefresh(
wrapperComm.priority wrapperComm.priority
); );
// returned testing purposes only // returned for testing purposes only
return { return {
fullUrl: wrapperComm.fullUrl, fullUrl: wrapperComm.fullUrl,
priority: wrapperComm.priority, priority: wrapperComm.priority,
@ -140,7 +140,7 @@ async function insertGroupsFromDBIntoWrapperAndRefresh(
); );
// this does the create or the update of the matching existing legacy group // this does the create or the update of the matching existing legacy group
await UserGroupsWrapperActions.setLegacyGroup(wrapperLegacyGroup); await UserGroupsWrapperActions.setLegacyGroup(wrapperLegacyGroup);
// returned testing purposes only // returned for testing purposes only
return wrapperLegacyGroup; return wrapperLegacyGroup;
} catch (e) { } catch (e) {
window.log.warn(`UserGroupsWrapperActions.set of ${convoId} failed with ${e.message}`); 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.setEnableBlindedMsgRequest(areBlindedMsgRequestEnabled);
await UserConfigWrapperActions.setNoteToSelfExpiry(expirySeconds); await UserConfigWrapperActions.setNoteToSelfExpiry(expirySeconds);
// returned testing purposes only // returned for testing purposes only
return { return {
id: convoId, id: convoId,
name: dbName, name: dbName,

Loading…
Cancel
Save