docs
This commit is contained in:
21
docs/redux/thunks/database/pois/addPoiThunk.md
Normal file
21
docs/redux/thunks/database/pois/addPoiThunk.md
Normal file
@@ -0,0 +1,21 @@
|
||||
<!-- /docs/redux/thunks/database/pois/addPoiThunk.md -->
|
||||
|
||||
# ➕ addPoiThunk.js
|
||||
|
||||
Async-Thunk zur Erstellung eines neuen POIs.
|
||||
|
||||
## Verwendung
|
||||
|
||||
```js
|
||||
dispatch(addPoiThunk({
|
||||
name: "Messstelle 1",
|
||||
poiTypeId: 2,
|
||||
latitude: 53.21,
|
||||
longitude: 8.43,
|
||||
idLD: 12
|
||||
}));
|
||||
```
|
||||
|
||||
## Intern
|
||||
|
||||
Ruft `addPoiService(formData)` auf und gibt das Ergebnis zurück.
|
||||
Reference in New Issue
Block a user