mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-02 21:03:09 +00:00
dev: bypass verification in dev env
Signed-off-by: Ashis Kumar Naik <ashishami2002@gmail.com>
This commit is contained in:
parent
63bbdde5e2
commit
c9e53ca285
@ -9,6 +9,18 @@ export class OrdinalAPI {
|
||||
* @returns A promise that resolves with the API response.
|
||||
*/
|
||||
async getOperatorDetails(address: string): Promise<OrdinalApiResponse> {
|
||||
|
||||
// Optionally Uncomment to bypass verification in development mode
|
||||
|
||||
// if (process.env.NODE_ENV === 'development') {
|
||||
// console.log(`[DEV] Bypassing ordinal verification for address: ${address}`);
|
||||
// return {
|
||||
// has_operators: true,
|
||||
// error_message: '',
|
||||
// data: []
|
||||
// };
|
||||
// }
|
||||
|
||||
const url = `${BASE_URL}/${address}/detail/`;
|
||||
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user