Pinafore-Web-Client-Frontend/routes/_actions/postPrivacy.js

7 lines
164 B
JavaScript

import { store } from '../_store/store'
export function setPostPrivacy (realm, postPrivacyKey) {
store.setComposeData(realm, { postPrivacy: postPrivacyKey })
}