Skip to content

Commit

Permalink
Fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Pawellek committed Apr 21, 2023
1 parent 31972a4 commit 4d425a7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/churchtoolsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,10 +358,12 @@ class ChurchToolsClient {
}
return this.ax.post(
this.buildUrl(uri),
needsCsrfToken ? data : {
...data,
[ENFORCE_JSON_PARAM]: options.enforceJSON,
},
needsCsrfToken
? data
: {
...data,
[ENFORCE_JSON_PARAM]: options.enforceJSON,
},
config
);
})
Expand Down

0 comments on commit 4d425a7

Please sign in to comment.