# extendify/0.4.0/src/api/General.js

Extendify, version 0.4.0. 15 lines.

- Page: https://pluginprobe.com/plugins/extendify/0.4.0/code/src/api/General.js
- Raw: https://pluginprobe.com/plugins/extendify/0.4.0/raw/src/api/General.js
- Modified: 2022-01-25T20:17:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/extendify/0.4.0/code/src/api/General.js#L10-L20`.

```javascript
import { useUserStore } from '../state/User'
import { Axios as api } from './axios'

export const General = {
    metaData() {
        return api.get('meta-data')
    },
    ping(action) {
        return api.post('simple-ping', {
            action,
            sdk_partner: useUserStore.getState()?.sdkPartner ?? '',
        })
    },
}

```
