mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: some style
This commit is contained in:
parent
303e2b30ac
commit
dc910e46b2
@ -67,10 +67,11 @@ export const PublishProvider = ({
|
||||
}
|
||||
|
||||
const { namespace, publishName } = info;
|
||||
|
||||
const res = await service?.getPublishViewMeta(namespace, publishName);
|
||||
|
||||
if (!res) {
|
||||
throw new Error('View has not been published yet');
|
||||
throw new Error('View meta has not been published yet');
|
||||
}
|
||||
|
||||
return res;
|
||||
|
@ -185,6 +185,8 @@ export async function revalidatePublishViewMeta<
|
||||
},
|
||||
name
|
||||
);
|
||||
|
||||
return db.view_metas.get(name);
|
||||
}
|
||||
|
||||
export async function revalidatePublishView<
|
||||
|
Loading…
Reference in New Issue
Block a user