Skip to content

Commit

Permalink
Merge pull request #12125 from tienifr/fix/11632-changes-made-in-offl…
Browse files Browse the repository at this point in the history
…ine-mode-are-not-saved

fix: changes made in offline mode are not saved
  • Loading branch information
Julesssss authored Oct 28, 2022
2 parents 6fd7613 + 09c6e7d commit e91e795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function openApp() {
* Refreshes data when the app reconnects
*/
function reconnectApp() {
API.read('ReconnectApp', {policyIDListExcludingWorkspacesCreatedOffline}, {
API.write('ReconnectApp', {policyIDListExcludingWorkspacesCreatedOffline}, {
optimisticData: [{
onyxMethod: CONST.ONYX.METHOD.MERGE,
key: ONYXKEYS.IS_LOADING_REPORT_DATA,
Expand Down

0 comments on commit e91e795

Please sign in to comment.