🐛 (share) Restrict public ID to non-existant only
This commit is contained in:
@ -0,0 +1,7 @@
|
||||
import { sendRequest } from 'utils'
|
||||
|
||||
export const isPublicDomainAvailableQuery = (publicId: string) =>
|
||||
sendRequest<{ isAvailable: boolean }>({
|
||||
method: 'GET',
|
||||
url: `/api/publicIdAvailable?publicId=${publicId}`,
|
||||
})
|
Reference in New Issue
Block a user