mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 13:10:20 -05:00
1be43911b4
Set Prettier's "trailingComma" setting to "es5" GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
9 lines
223 B
JavaScript
9 lines
223 B
JavaScript
import { postJSON } from '../../../infrastructure/fetch-json'
|
|
|
|
export function cloneProject(projectId, cloneName) {
|
|
return postJSON(`/project/${projectId}/clone`, {
|
|
body: {
|
|
projectName: cloneName,
|
|
},
|
|
})
|
|
}
|