mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-21 12:06:35 +08:00
feat: auth metric and trace (#4063)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
deleteBlobMutation,
|
||||
fetchWithReport,
|
||||
fetchWithTraceReport,
|
||||
listBlobsQuery,
|
||||
setBlobMutation,
|
||||
} from '@affine/graphql';
|
||||
@@ -12,7 +12,7 @@ export const createCloudBlobStorage = (workspaceId: string): BlobStorage => {
|
||||
return {
|
||||
crud: {
|
||||
get: async key => {
|
||||
return fetchWithReport(
|
||||
return fetchWithTraceReport(
|
||||
runtimeConfig.serverUrlPrefix +
|
||||
`/api/workspaces/${workspaceId}/blobs/${key}`
|
||||
).then(res => res.blob());
|
||||
|
||||
Reference in New Issue
Block a user