mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-21 15:03:21 -05:00
7 lines
177 B
JavaScript
7 lines
177 B
JavaScript
import { from } from 'rxjs';
|
|
import { post } from '../../../utils/ajax';
|
|
|
|
export default function postUpdate$({ endpoint, payload }) {
|
|
return from(post(endpoint, payload));
|
|
}
|