Skip to content

Commit

Permalink
fix: changes made in offline mode are not saved
Browse files Browse the repository at this point in the history
  • Loading branch information
tienifr committed Oct 25, 2022
1 parent 711aafc commit 09c6e7d
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 09c6e7d

Please sign in to comment.