first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { getJSON } from '../../../infrastructure/fetch-json'
|
||||
|
||||
export function fetchWordCount(projectId, clsiServerId, options) {
|
||||
let query = ''
|
||||
if (clsiServerId) {
|
||||
query = `?clsiserverid=${clsiServerId}`
|
||||
}
|
||||
|
||||
return getJSON(`/project/${projectId}/wordcount${query}`, options)
|
||||
}
|
||||
Reference in New Issue
Block a user