mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-22 21:59:44 +03:00
added errorSchema to ReferralSystem service (#34)
Co-authored-by: kuduzow <admin@intocode.ru>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import fetchWithValidation from '../../fetchWithValidation';
|
||||
import { errorSchema } from './schemas';
|
||||
import distinctAnalyticsSchema from './schemas/distinctAnalyticsSchema';
|
||||
import linkSchema from './schemas/linkSchema';
|
||||
|
||||
@@ -90,6 +91,7 @@ class ReferralSystem {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ payload, signature }),
|
||||
},
|
||||
errorSchema,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user