mirror of
https://github.com/penxio/penx.git
synced 2026-01-13 07:27:57 -05:00
11 lines
387 B
TypeScript
11 lines
387 B
TypeScript
import { NetworkNames } from '@penx/constants'
|
|
import { SyncService } from './SyncService'
|
|
|
|
export async function syncPostToHub(space: any, creation: any, markdown = '') {
|
|
// const token = await api.github.getGitHubToken.query({
|
|
// installationId: space.installationId!,
|
|
// })
|
|
// const sync = await SyncService.init(token, space)
|
|
// await sync.pushPost(creation, markdown)
|
|
}
|