mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 19:01:35 +01:00
Set default value for markdown preview and improve error for collab
This commit is contained in:
@@ -41,6 +41,10 @@ export const actions: Actions = {
|
||||
)
|
||||
).data;
|
||||
|
||||
if (!user) {
|
||||
return { success: false, message: "Specified user could not be found" };
|
||||
}
|
||||
|
||||
return await apiRequest(fetch, `${API_BASE_PREFIX}/collab`, "POST", {
|
||||
body: {
|
||||
website_id: params.websiteId,
|
||||
|
||||
Reference in New Issue
Block a user