Skip to content

Commit

Permalink
fix: use correct typings in waitUntilAssetProcessed (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
shikaan authored Jun 15, 2021
1 parent 653585e commit 74a030a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/space.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface SpaceAPI {
query?: Query
) => Promise<CollectionResponse<Asset>>
createUpload: (base64data: string) => Promise<void>
waitUntilAssetProcessed: (assetId: string, locale: string) => Promise<void>
waitUntilAssetProcessed: (assetId: string, locale: string) => Promise<Asset>

/** Returns all users who belong to the space. */
getUsers: () => Promise<CollectionResponse<User>>
Expand Down

0 comments on commit 74a030a

Please sign in to comment.