mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-14 16:51:07 +10:00
client: updates
* work on groups ui * move settings to its own page * other fixes and refactoring
This commit is contained in:
@ -7,7 +7,7 @@ export async function createPage(data: Partial<IPage>): Promise<IPage> {
|
||||
}
|
||||
|
||||
export async function getPageById(id: string): Promise<IPage> {
|
||||
const req = await api.post<IPage>('/pages/details', { id });
|
||||
const req = await api.post<IPage>('/pages/info', { id });
|
||||
return req.data as IPage;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user